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

Make Group#subgroup_creation_level return Owner if it is nil in DB

parent 476da097
No related branches found
No related tags found
No related merge requests found
Loading
Loading
@@ -417,7 +417,7 @@ class Group < Namespace
end
 
def subgroup_creation_level
super || ::Gitlab::Access::MAINTAINER_SUBGROUP_ACCESS
super || ::Gitlab::Access::OWNER_SUBGROUP_ACCESS
end
 
private
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