Add finer permission requirements for managing webhooks (#25463)
Showing
- app/controllers/admin/webhooks_controller.rb 3 additions, 0 deletionsapp/controllers/admin/webhooks_controller.rb
- app/models/webhook.rb 22 additions, 0 deletionsapp/models/webhook.rb
- app/policies/webhook_policy.rb 2 additions, 2 deletionsapp/policies/webhook_policy.rb
- app/views/admin/webhooks/_form.html.haml 1 addition, 1 deletionapp/views/admin/webhooks/_form.html.haml
- config/locales/activerecord.en.yml 4 additions, 0 deletionsconfig/locales/activerecord.en.yml
- spec/controllers/admin/webhooks_controller_spec.rb 1 addition, 1 deletionspec/controllers/admin/webhooks_controller_spec.rb
- spec/policies/webhook_policy_spec.rb 19 additions, 3 deletionsspec/policies/webhook_policy_spec.rb
Please register or sign in to comment