-
- Downloads
Implement final review comments from @rymai.
1. Instantiate `ProtectedBranchesAccessSelect` from `dispatcher` 2. Use `can?(user, ...)` instead of `user.can?(...)` 3. Add `DOWNTIME` notes to all migrations added in !5081. 4. Add an explicit `down` method for migrations removing the `developers_can_push` and `developers_can_merge` columns, ensuring that the columns created (on rollback) have the appropriate defaults. 5. Remove duplicate CHANGELOG entries. 6. Blank lines after guard clauses.
Showing
- CHANGELOG 0 additions, 1 deletionCHANGELOG
- app/assets/javascripts/dispatcher.js 5 additions, 0 deletionsapp/assets/javascripts/dispatcher.js
- app/models/protected_branch/merge_access_level.rb 1 addition, 0 deletionsapp/models/protected_branch/merge_access_level.rb
- app/models/protected_branch/push_access_level.rb 1 addition, 0 deletionsapp/models/protected_branch/push_access_level.rb
- app/services/protected_branches/create_service.rb 1 addition, 1 deletionapp/services/protected_branches/create_service.rb
- app/services/protected_branches/update_service.rb 1 addition, 1 deletionapp/services/protected_branches/update_service.rb
- app/views/projects/protected_branches/_branches_list.html.haml 0 additions, 3 deletions...iews/projects/protected_branches/_branches_list.html.haml
- app/views/projects/protected_branches/index.html.haml 0 additions, 3 deletionsapp/views/projects/protected_branches/index.html.haml
- db/migrate/20160705054938_add_protected_branches_push_access.rb 2 additions, 0 deletions...rate/20160705054938_add_protected_branches_push_access.rb
- db/migrate/20160705054952_add_protected_branches_merge_access.rb 2 additions, 0 deletions...ate/20160705054952_add_protected_branches_merge_access.rb
- db/migrate/20160705055254_move_from_developers_can_merge_to_protected_branches_merge_access.rb 9 additions, 0 deletions...evelopers_can_merge_to_protected_branches_merge_access.rb
- db/migrate/20160705055308_move_from_developers_can_push_to_protected_branches_push_access.rb 9 additions, 0 deletions..._developers_can_push_to_protected_branches_push_access.rb
- db/migrate/20160705055809_remove_developers_can_push_from_protected_branches.rb 12 additions, 1 deletion...809_remove_developers_can_push_from_protected_branches.rb
- db/migrate/20160705055813_remove_developers_can_merge_from_protected_branches.rb 12 additions, 1 deletion...13_remove_developers_can_merge_from_protected_branches.rb
Please register or sign in to comment