Tag creation 404 for guests
Summary
On Public repos the "Tag" creation option is visible for all people but will end in a 404 if user is not allowed to do this action.
Steps to reproduce
- Logout
- go to WireframeZ/OpenFileOrganizer@06a98660 or any other commit on public repos
- Click on the Option drop down button and select "Tag"
- Will end in a 404
Expected behavior
I would expect that the tag option is not visible for people who are not allowed to do this action
Actual behavior
Tag option is visible for all people and end with 404 if not allowed
Relevant logs and/or screenshots
Output of checks
This bug happens on GitLab.com