Hide new subgroup button if user has no permission to create one
Based on https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/10287 with few improvements.
What does this MR do?
Hides new subgroup button if user has no permission to create one
Are there points in the code the reviewer needs to double check?
no
Why was this MR needed?
To avoid 404 when user tries to visit new group page without permissions
Does this MR meet the acceptance criteria?
-
Changelog entry added, if necessary Documentation created/updatedAPI support added- 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
What are the relevant issue numbers?
Fixes #30139 (closed)
Merge request reports
Activity
Please register or sign in to reply