Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Boxiang Sun
gitlab-ce
Commits
d279cc5a
Commit
d279cc5a
authored
Jun 27, 2019
by
Fabio Papa
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add subgroup_creation_level to the list of allowed group params
For both groups_controller and admin/groups_controller
parent
99e6c084
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
2 deletions
+4
-2
app/controllers/admin/groups_controller.rb
app/controllers/admin/groups_controller.rb
+2
-1
app/controllers/groups_controller.rb
app/controllers/groups_controller.rb
+2
-1
No files found.
app/controllers/admin/groups_controller.rb
View file @
d279cc5a
...
...
@@ -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
app/controllers/groups_controller.rb
View file @
d279cc5a
...
...
@@ -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
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment