Add subgroup_creation_level to the list of allowed group params

For both groups_controller and admin/groups_controller
This commit is contained in:
Fabio Papa 2019-06-27 13:45:58 -07:00
parent 99e6c08436
commit d279cc5a7a
2 changed files with 4 additions and 2 deletions

View file

@ -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

View file

@ -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