avoid showing unavailable options to logged out users
I have a public project on gitlab.com for which I am using Gitlab CI. When I visit the page which displays the output of a CI build, there is a 'retry' link shown on a failed build. If I click this link while not logged in to gitlab.com I get a 404 message.
While the 404 behavior may be desirable (to avoid leaking information about what builds exist), it's probably not a good idea to have the 'retry' link which directs the user to a 404 page.