Skip to content
Snippets Groups Projects
Commit 130261c5 authored by Fabio Papa's avatar Fabio Papa
Browse files

Make the group model return maintainer level when it is not set

parent 9dc5c2ef
No related branches found
No related tags found
No related merge requests found
Loading
Loading
@@ -416,6 +416,10 @@ class Group < Namespace
super || ::Gitlab::CurrentSettings.default_project_creation
end
 
def subgroup_creation_level
super || ::Gitlab::Access::MAINTAINER_SUBGROUP_ACCESS
end
private
 
def update_two_factor_requirement
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment