-
- Downloads
Implement review comments from @dbalexandre.
1. Remove `master_or_greater?` and `developer_or_greater?` in favor of `max_member_access`, which is a lot nicer. 2. Remove a number of instances of `include Gitlab::Database::MigrationHelpers` in migrations that don't need this module. Also remove comments where not necessary. 3. Remove duplicate entry in CHANGELOG. 4. Move `ProtectedBranchAccessSelect` from Coffeescript to ES6. 5. Split the `set_access_levels!` method in two - one each for `merge` and `push` access levels.
Showing
- CHANGELOG 0 additions, 1 deletionCHANGELOG
- app/assets/javascripts/protected_branches.js 0 additions, 35 deletionsapp/assets/javascripts/protected_branches.js
- app/assets/javascripts/protected_branches_access_select.js.coffee 0 additions, 40 deletions...ts/javascripts/protected_branches_access_select.js.coffee
- app/assets/javascripts/protected_branches_access_select.js.es6 53 additions, 0 deletions...ssets/javascripts/protected_branches_access_select.js.es6
- app/models/project_team.rb 0 additions, 8 deletionsapp/models/project_team.rb
- app/models/protected_branch/merge_access_level.rb 9 additions, 5 deletionsapp/models/protected_branch/merge_access_level.rb
- app/models/protected_branch/push_access_level.rb 10 additions, 7 deletionsapp/models/protected_branch/push_access_level.rb
- app/services/protected_branches/base_service.rb 9 additions, 0 deletionsapp/services/protected_branches/base_service.rb
- db/migrate/20160705054938_add_protected_branches_push_access.rb 0 additions, 2 deletions...rate/20160705054938_add_protected_branches_push_access.rb
- db/migrate/20160705054952_add_protected_branches_merge_access.rb 0 additions, 2 deletions...ate/20160705054952_add_protected_branches_merge_access.rb
- db/migrate/20160705055254_move_from_developers_can_merge_to_protected_branches_merge_access.rb 0 additions, 13 deletions...evelopers_can_merge_to_protected_branches_merge_access.rb
- db/migrate/20160705055308_move_from_developers_can_push_to_protected_branches_push_access.rb 0 additions, 13 deletions..._developers_can_push_to_protected_branches_push_access.rb
- db/migrate/20160705055809_remove_developers_can_push_from_protected_branches.rb 0 additions, 13 deletions...809_remove_developers_can_push_from_protected_branches.rb
- db/migrate/20160705055813_remove_developers_can_merge_from_protected_branches.rb 0 additions, 13 deletions...13_remove_developers_can_merge_from_protected_branches.rb
Please register or sign in to comment