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
Merge request reports
Activity
marked the task Changelog entry added, if necessary as completed
marked the task Conform by the merge request performance guides as completed
marked the task Conform by the style guides as completed
@vsizov can you review this one? Thanks!
assigned to @vsizov
- Resolved by James Lopez
assigned to @jameslopez
@DouweM can you review this? Thanks!
assigned to @DouweM
- Resolved by Douwe Maan
@jameslopez Build failures!
assigned to @jameslopez
@jameslopez should this be labelled for 9.1 milestone first?
@twk3 that's right, so we decided to go for https://gitlab.com/gitlab-org/gitlab-ce/issues/24322#note_27253626 looks like
Changing milestone to 9.1, we'll also have to pick it on
9.0
or set the milestone to9.0
once it's merged and picked into9.1
stable. /cc @godfat @felipe_arturchanged milestone to %9.1
added 223 commits
-
2cbc3481...eeaeb275 - 220 commits from branch
master
- 41f1a7aa - fix restricted visibility project setting
- 05ab1bde - revert some space changes
- 2db62561 - use each_with_object
Toggle commit list-
2cbc3481...eeaeb275 - 220 commits from branch
added regression label
@DouweM builds are passing now
assigned to @DouweM
mentioned in commit d69deb1d
mentioned in issue #31059 (closed)
changed milestone to %9.0
mentioned in commit 74d6c203
mentioned in commit a5ffb991