mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06: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] },
|
list: { actions: %w[admin/users#index] },
|
||||||
},
|
},
|
||||||
email: {
|
email: {
|
||||||
receive_emails: { actions: %w[admin/email#handle_mail] }
|
receive_emails: { actions: %w[admin/email#handle_mail admin/email#smtp_should_reject] }
|
||||||
},
|
},
|
||||||
badges: {
|
badges: {
|
||||||
create: { actions: %w[admin/badges#create] },
|
create: { actions: %w[admin/badges#create] },
|
||||||
|
Loading…
Reference in New Issue
Block a user