Add subgroup_creation_level to the list of allowed group params
For both groups_controller and admin/groups_controller
This commit is contained in:
parent
99e6c08436
commit
d279cc5a7a
2 changed files with 4 additions and 2 deletions
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in a new issue