Make the group model return maintainer level when it is not set
This commit is contained in:
parent
9dc5c2ef73
commit
130261c5e9
1 changed files with 4 additions and 0 deletions
|
@ -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…
Reference in a new issue