Only expose `id` and `name` attributes when serializing deploy token
To improve security. Previously we were exposing `token` and `encrypted_token` attributes. Changelog: security
显示
- app/assets/javascripts/deploy_tokens/components/revoke_button.vue 1 个添加, 5 个删除...ts/javascripts/deploy_tokens/components/revoke_button.vue
- app/assets/javascripts/deploy_tokens/init_revoke_button.js 1 个添加, 2 个删除app/assets/javascripts/deploy_tokens/init_revoke_button.js
- app/helpers/deploy_tokens_helper.rb 7 个添加, 0 个删除app/helpers/deploy_tokens_helper.rb
- app/views/shared/deploy_tokens/_table.html.haml 1 个添加, 1 个删除app/views/shared/deploy_tokens/_table.html.haml
- spec/frontend/deploy_tokens/components/revoke_button_spec.js 0 个添加, 5 个删除spec/frontend/deploy_tokens/components/revoke_button_spec.js
- spec/helpers/deploy_tokens_helper_spec.rb 20 个添加, 0 个删除spec/helpers/deploy_tokens_helper_spec.rb
加载中
想要评论请 注册 或 登录