-
- Downloads
There was an error fetching the commit references. Please try again later.
Protected tags copy/paste from protected branches
Should provide basic CRUD backend for frontend to work from. Doesn’t include frontend, API, or the internal API used from gitlab-shell
Showing
- app/controllers/projects/protected_tags_controller.rb 58 additions, 0 deletionsapp/controllers/projects/protected_tags_controller.rb
- app/models/concerns/protected_ref_access.rb 21 additions, 0 deletionsapp/models/concerns/protected_ref_access.rb
- app/models/concerns/protected_tag_access.rb 21 additions, 0 deletionsapp/models/concerns/protected_tag_access.rb
- app/models/project.rb 1 addition, 0 deletionsapp/models/project.rb
- app/models/protected_branch.rb 7 additions, 32 deletionsapp/models/protected_branch.rb
- app/models/protected_ref_matcher.rb 52 additions, 0 deletionsapp/models/protected_ref_matcher.rb
- app/models/protected_tag.rb 39 additions, 0 deletionsapp/models/protected_tag.rb
- app/models/protected_tag/push_access_level.rb 21 additions, 0 deletionsapp/models/protected_tag/push_access_level.rb
- app/services/protected_tags/create_service.rb 11 additions, 0 deletionsapp/services/protected_tags/create_service.rb
- app/services/protected_tags/update_service.rb 13 additions, 0 deletionsapp/services/protected_tags/update_service.rb
- config/routes/project.rb 2 additions, 0 deletionsconfig/routes/project.rb
- spec/controllers/projects/protected_tags_controller_spec.rb 10 additions, 0 deletionsspec/controllers/projects/protected_tags_controller_spec.rb
- spec/factories/protected_tags.rb 22 additions, 0 deletionsspec/factories/protected_tags.rb
- spec/features/protected_tags/access_control_ce_spec.rb 79 additions, 0 deletionsspec/features/protected_tags/access_control_ce_spec.rb
- spec/features/protected_tags_spec.rb 94 additions, 0 deletionsspec/features/protected_tags_spec.rb
- spec/models/protected_tag_spec.rb 14 additions, 0 deletionsspec/models/protected_tag_spec.rb
- spec/services/protected_tags/create_service_spec.rb 23 additions, 0 deletionsspec/services/protected_tags/create_service_spec.rb
app/models/concerns/protected_ref_access.rb
0 → 100644
app/models/concerns/protected_tag_access.rb
0 → 100644
app/models/protected_ref_matcher.rb
0 → 100644
app/models/protected_tag.rb
0 → 100644
spec/factories/protected_tags.rb
0 → 100644
spec/features/protected_tags_spec.rb
0 → 100644
spec/models/protected_tag_spec.rb
0 → 100644
Please register or sign in to comment