Commit faa8b69f authored by Fabio Papa's avatar Fabio Papa

Reset group policy to only allow >= owners to create subgroups

parent 7d061212
...@@ -104,7 +104,7 @@ class GroupPolicy < BasePolicy ...@@ -104,7 +104,7 @@ class GroupPolicy < BasePolicy
enable :read_nested_project_resources enable :read_nested_project_resources
end end
rule { maintainer & nested_groups_supported }.enable :create_subgroup rule { owner & nested_groups_supported }.enable :create_subgroup
rule { public_group | logged_in_viewable }.enable :view_globally rule { public_group | logged_in_viewable }.enable :view_globally
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment