diff options
author | Fabio Papa <fabtheman@gmail.com> | 2019-06-16 12:23:56 -0700 |
---|---|---|
committer | Fabio Papa <fabtheman@gmail.com> | 2019-07-01 14:01:34 -0700 |
commit | eb27c2b164418da3ed75052657b364b740505b51 (patch) | |
tree | 05a6f9e152a0e7cb0678bd83b95d7c87108aa291 | |
parent | 97404196e0d89a2a72d96c127c0d6b9e8e450822 (diff) | |
download | gitlab-ce-eb27c2b164418da3ed75052657b364b740505b51.tar.gz |
Update the group policy to allow >= maintainer to create subgroups
All specs passing
-rw-r--r-- | app/policies/group_policy.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/policies/group_policy.rb b/app/policies/group_policy.rb index ea86858181d..d92bcded19d 100644 --- a/app/policies/group_policy.rb +++ b/app/policies/group_policy.rb @@ -109,7 +109,7 @@ class GroupPolicy < BasePolicy enable :read_nested_project_resources end - rule { owner & nested_groups_supported }.enable :create_subgroup + rule { maintainer & nested_groups_supported }.enable :create_subgroup rule { public_group | logged_in_viewable }.enable :view_globally |