Skip to content
Snippets Groups Projects

Hide new subgroup button if user has no permission to create one

Merged username-removed-444 requested to merge siemens/gitlab-ce-fix/subgroup-hide-button into master

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?

What are the relevant issue numbers?

Fixes #30139 (closed)

Merge request reports

Loading
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
Please register or sign in to reply
Loading