-
- Downloads
Merge branch 'security-pipeline-trigger-tokens-exposure-11-4' into 'security-11-4'
[11.4] Do not expose trigger token when user should not see it See merge request gitlab/gitlabhq!2761 (cherry picked from commit bc660b08642de2a68e39a443566e7665f057a0a8) 1b81cbce Do not expose trigger token when user should not see it
Showing
- app/controllers/projects/settings/ci_cd_controller.rb 2 additions, 0 deletionsapp/controllers/projects/settings/ci_cd_controller.rb
- app/controllers/projects/triggers_controller.rb 3 additions, 4 deletionsapp/controllers/projects/triggers_controller.rb
- app/models/ci/trigger.rb 2 additions, 1 deletionapp/models/ci/trigger.rb
- app/presenters/ci/trigger_presenter.rb 19 additions, 0 deletionsapp/presenters/ci/trigger_presenter.rb
- app/views/projects/triggers/_trigger.html.haml 1 addition, 1 deletionapp/views/projects/triggers/_trigger.html.haml
- changelogs/unreleased/security-pipeline-trigger-tokens-exposure.yml 5 additions, 0 deletions.../unreleased/security-pipeline-trigger-tokens-exposure.yml
- lib/api/entities.rb 4 additions, 1 deletionlib/api/entities.rb
- lib/api/helpers/presentable.rb 29 additions, 0 deletionslib/api/helpers/presentable.rb
- lib/api/triggers.rb 5 additions, 5 deletionslib/api/triggers.rb
- spec/presenters/ci/trigger_presenter_spec.rb 51 additions, 0 deletionsspec/presenters/ci/trigger_presenter_spec.rb
- spec/requests/api/triggers_spec.rb 9 additions, 5 deletionsspec/requests/api/triggers_spec.rb
app/presenters/ci/trigger_presenter.rb
0 → 100644
lib/api/helpers/presentable.rb
0 → 100644
spec/presenters/ci/trigger_presenter_spec.rb
0 → 100644
Please register or sign in to comment