diff options
author | Fabio Papa <fabtheman@gmail.com> | 2019-06-27 13:45:58 -0700 |
---|---|---|
committer | Fabio Papa <fabtheman@gmail.com> | 2019-07-02 11:36:02 -0700 |
commit | 65e9fd31d5ca0e0e6eb2b44599f18c333a366a47 (patch) | |
tree | 1b221648f20418c8c6fae1dd7016e1969cabc3d5 | |
parent | 83a7545554fc3ccd44cd6c6d620b860d1d4aeb08 (diff) | |
download | gitlab-ce-65e9fd31d5ca0e0e6eb2b44599f18c333a366a47.tar.gz |
Add subgroup_creation_level to the list of allowed group params
For both groups_controller and admin/groups_controller
-rw-r--r-- | app/controllers/admin/groups_controller.rb | 3 | ||||
-rw-r--r-- | app/controllers/groups_controller.rb | 3 |
2 files changed, 4 insertions, 2 deletions
diff --git a/app/controllers/admin/groups_controller.rb b/app/controllers/admin/groups_controller.rb index 15f7ef881c8..6317fa7c8d1 100644 --- a/app/controllers/admin/groups_controller.rb +++ b/app/controllers/admin/groups_controller.rb @@ -90,7 +90,8 @@ class Admin::GroupsController < Admin::ApplicationController :visibility_level, :require_two_factor_authentication, :two_factor_grace_period, - :project_creation_level + :project_creation_level, + :subgroup_creation_level ] end end diff --git a/app/controllers/groups_controller.rb b/app/controllers/groups_controller.rb index 797833e3f91..aff418faae5 100644 --- a/app/controllers/groups_controller.rb +++ b/app/controllers/groups_controller.rb @@ -192,7 +192,8 @@ class GroupsController < Groups::ApplicationController :chat_team_name, :require_two_factor_authentication, :two_factor_grace_period, - :project_creation_level + :project_creation_level, + :subgroup_creation_level ] end |