diff options
author | Fabio Papa <fabtheman@gmail.com> | 2019-07-01 23:41:32 +0300 |
---|---|---|
committer | Fabio Papa <fabtheman@gmail.com> | 2019-07-19 23:14:21 +0300 |
commit | 7b7c14940097612140c71164481a371688d961b2 (patch) | |
tree | b75314f2209c100f3d1b58c849e4e4a57070833d /app | |
parent | 0f7366f29d2db81bc38bf7470f80d7e1b91de967 (diff) |
Apply changes recomended by merge request coach
Diffstat (limited to 'app')
-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 |