-
- Downloads
Cancel all running CI jobs when user is blocked
This prevents a MITM attack where attacker could still access Git repository if any jobs were running long enough.
Showing
- app/models/user.rb 10 additions, 0 deletionsapp/models/user.rb
- app/services/ci/cancel_user_pipelines_service.rb 13 additions, 0 deletionsapp/services/ci/cancel_user_pipelines_service.rb
- changelogs/unreleased/security-fp-stop-jobs-when-blocking-user.yml 5 additions, 0 deletions...s/unreleased/security-fp-stop-jobs-when-blocking-user.yml
- spec/models/user_spec.rb 17 additions, 1 deletionspec/models/user_spec.rb
- spec/services/ci/cancel_user_pipelines_service_spec.rb 23 additions, 0 deletionsspec/services/ci/cancel_user_pipelines_service_spec.rb
Please register or sign in to comment