Commit d279cc5a authored by Fabio Papa's avatar Fabio Papa

Add subgroup_creation_level to the list of allowed group params

For both groups_controller and admin/groups_controller
parent 99e6c084
...@@ -90,7 +90,8 @@ class Admin::GroupsController < Admin::ApplicationController ...@@ -90,7 +90,8 @@ class Admin::GroupsController < Admin::ApplicationController
:visibility_level, :visibility_level,
:require_two_factor_authentication, :require_two_factor_authentication,
:two_factor_grace_period, :two_factor_grace_period,
:project_creation_level :project_creation_level,
:subgroup_creation_level
] ]
end end
end end
...@@ -192,7 +192,8 @@ class GroupsController < Groups::ApplicationController ...@@ -192,7 +192,8 @@ class GroupsController < Groups::ApplicationController
:chat_team_name, :chat_team_name,
:require_two_factor_authentication, :require_two_factor_authentication,
:two_factor_grace_period, :two_factor_grace_period,
:project_creation_level :project_creation_level,
:subgroup_creation_level
] ]
end end
......
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