-
- Downloads
Add confirm delete protected branch modal
Showing
- app/assets/javascripts/branches/branches_delete_modal.js 36 additions, 0 deletionsapp/assets/javascripts/branches/branches_delete_modal.js
- app/assets/javascripts/dispatcher.js 2 additions, 0 deletionsapp/assets/javascripts/dispatcher.js
- app/assets/stylesheets/framework/lists.scss 1 addition, 0 deletionsapp/assets/stylesheets/framework/lists.scss
- app/controllers/projects/branches_controller.rb 8 additions, 4 deletionsapp/controllers/projects/branches_controller.rb
- app/controllers/projects/tags_controller.rb 2 additions, 2 deletionsapp/controllers/projects/tags_controller.rb
- app/helpers/branches_helper.rb 0 additions, 10 deletionsapp/helpers/branches_helper.rb
- app/policies/project_policy.rb 3 additions, 3 deletionsapp/policies/project_policy.rb
- app/services/delete_branch_service.rb 4 additions, 12 deletionsapp/services/delete_branch_service.rb
- app/views/projects/branches/_branch.html.haml 28 additions, 7 deletionsapp/views/projects/branches/_branch.html.haml
- app/views/projects/branches/_delete_protected_modal.html.haml 34 additions, 0 deletions...views/projects/branches/_delete_protected_modal.html.haml
- app/views/projects/branches/index.html.haml 2 additions, 0 deletionsapp/views/projects/branches/index.html.haml
- lib/gitlab/checks/change_access.rb 41 additions, 27 deletionslib/gitlab/checks/change_access.rb
- lib/gitlab/user_access.rb 10 additions, 0 deletionslib/gitlab/user_access.rb
- spec/features/projects/branches_spec.rb 84 additions, 1 deletionspec/features/projects/branches_spec.rb
- spec/lib/gitlab/checks/change_access_spec.rb 62 additions, 25 deletionsspec/lib/gitlab/checks/change_access_spec.rb
- spec/lib/gitlab/git_access_spec.rb 1 addition, 1 deletionspec/lib/gitlab/git_access_spec.rb
- spec/lib/gitlab/user_access_spec.rb 46 additions, 2 deletionsspec/lib/gitlab/user_access_spec.rb
- spec/policies/project_policy_spec.rb 1 addition, 1 deletionspec/policies/project_policy_spec.rb
- spec/requests/api/branches_spec.rb 0 additions, 13 deletionsspec/requests/api/branches_spec.rb
- spec/requests/api/v3/branches_spec.rb 0 additions, 13 deletionsspec/requests/api/v3/branches_spec.rb
Please register or sign in to comment