DEV: add smtp_should_reject to the receive_emails api key scope (#17110)

This commit is contained in:
Roman Rizzi 2022-06-16 13:46:56 -03:00 committed by GitHub
parent 691afa2593
commit e5691362df
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -64,7 +64,7 @@ class ApiKeyScope < ActiveRecord::Base
list: { actions: %w[admin/users#index] },
},
email: {
receive_emails: { actions: %w[admin/email#handle_mail] }
receive_emails: { actions: %w[admin/email#handle_mail admin/email#smtp_should_reject] }
},
badges: {
create: { actions: %w[admin/badges#create] },