-
- Downloads
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
Showing
- db/migrate/20190626175626_add_group_creation_level_to_namespaces.rb 1 addition, 0 deletions.../20190626175626_add_group_creation_level_to_namespaces.rb
- spec/controllers/admin/groups_controller_spec.rb 3 additions, 4 deletionsspec/controllers/admin/groups_controller_spec.rb
- spec/factories/groups.rb 4 additions, 1 deletionspec/factories/groups.rb
- spec/features/groups/show_spec.rb 11 additions, 6 deletionsspec/features/groups/show_spec.rb
- spec/models/group_spec.rb 2 additions, 3 deletionsspec/models/group_spec.rb
- spec/policies/group_policy_spec.rb 36 additions, 7 deletionsspec/policies/group_policy_spec.rb
- spec/requests/api/groups_spec.rb 2 additions, 2 deletionsspec/requests/api/groups_spec.rb
- spec/support/shared_contexts/policies/group_policy_shared_context.rb 1 addition, 1 deletion...t/shared_contexts/policies/group_policy_shared_context.rb
Please register or sign in to comment