diff options
author | Fabio Papa <fabtheman@gmail.com> | 2019-06-30 14:40:23 -0700 |
---|---|---|
committer | Fabio Papa <fabtheman@gmail.com> | 2019-07-19 13:06:50 -0700 |
commit | 95708920ae309a82240d14e4a5bb1bb944085fb3 (patch) | |
tree | 7e09a9b55696cb8eb17c3fe932a7814978c917c8 /spec/factories/groups.rb | |
parent | f1fcd64fb7f4dc19ebab44829dc66a5a8f28a096 (diff) | |
download | gitlab-ce-95708920ae309a82240d14e4a5bb1bb944085fb3.tar.gz |
Make subgroup_creation_level default to maintainer at SQL level
- Migration updates existing groups to "owner", then sets default to
"maintainer" so that new groups will default to that
- Update spec examples
Diffstat (limited to 'spec/factories/groups.rb')
-rw-r--r-- | spec/factories/groups.rb | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/spec/factories/groups.rb b/spec/factories/groups.rb index 947392b4fbc..b67ab955ffc 100644 --- a/spec/factories/groups.rb +++ b/spec/factories/groups.rb @@ -5,7 +5,6 @@ FactoryBot.define do type 'Group' owner nil project_creation_level ::Gitlab::Access::MAINTAINER_PROJECT_ACCESS - subgroup_creation_level ::Gitlab::Access::OWNER_SUBGROUP_ACCESS after(:create) do |group| if group.owner |