diff options
author | Fabio Papa <fabtheman@gmail.com> | 2019-07-01 13:41:32 -0700 |
---|---|---|
committer | Fabio Papa <fabtheman@gmail.com> | 2019-07-19 11:55:49 -0700 |
commit | d4c53e1799d4967c20ac771f6628416183985ef4 (patch) | |
tree | 0bc24f66e12422be4e76ba92bc18fa61a81499ee /app/models/group.rb | |
parent | b36d78eabc53bb6a457c45b67a65276c85bf2b8a (diff) | |
download | gitlab-ce-d4c53e1799d4967c20ac771f6628416183985ef4.tar.gz |
Apply changes recomended by merge request coach
Diffstat (limited to 'app/models/group.rb')
-rw-r--r-- | app/models/group.rb | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/app/models/group.rb b/app/models/group.rb index 9520db1bc0a..3f80c1373f1 100644 --- a/app/models/group.rb +++ b/app/models/group.rb @@ -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 |