summaryrefslogtreecommitdiff
path: root/app/controllers/groups_controller.rb
diff options
context:
space:
mode:
authorFabio Papa <fabtheman@gmail.com>2019-06-27 13:45:58 -0700
committerFabio Papa <fabtheman@gmail.com>2019-07-19 11:55:46 -0700
commitd279cc5a7aaca55b6736b065e3b0c119a9a9959b (patch)
treef7ddd1556dc6a21cf395ae222d7b3ba69151b1c1 /app/controllers/groups_controller.rb
parent99e6c084368072b2628d6a53cf241a7e75da3662 (diff)
downloadgitlab-ce-d279cc5a7aaca55b6736b065e3b0c119a9a9959b.tar.gz
Add subgroup_creation_level to the list of allowed group params
For both groups_controller and admin/groups_controller
Diffstat (limited to 'app/controllers/groups_controller.rb')
-rw-r--r--app/controllers/groups_controller.rb3
1 files changed, 2 insertions, 1 deletions
diff --git a/app/controllers/groups_controller.rb b/app/controllers/groups_controller.rb
index dbddee47997..0176962cf0a 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