Commit 039e5348 authored by Fabio Papa's avatar Fabio Papa

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

parent de906e36
......@@ -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
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment