mirror of
https://github.com/discourse/discourse.git
synced 2024-11-23 01:47:22 +08:00
DEV: add smtp_should_reject to the receive_emails api key scope (#17110)
This commit is contained in:
parent
691afa2593
commit
e5691362df
|
@ -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] },
|
||||
|
|
Loading…
Reference in New Issue
Block a user