Fix restricted visibility project setting
Fixes https://gitlab.com/gitlab-org/gitlab-ce/issues/30581
Only shows all the project visibility levels if we are an admin. Otherwise, it will show all visibility levels excluding those that are restricted.
-
Changelog entry added, if necessary - Tests
-
Added for this feature/bug -
All builds are passing
-
-
Conform by the merge request performance guides -
Conform by the style guides -
Branch has no merge conflicts with master
(if it does - rebase it please) -
Squashed related commits together