mirror of
https://github.com/discourse/discourse.git
synced 2025-06-05 14:07:30 +08:00
FEATURE: Add user update, anonymize and delete API scopes (#11335)
This commit is contained in:
@ -37,7 +37,10 @@ class ApiKeyScope < ActiveRecord::Base
|
||||
bookmarks: { actions: %w[users#bookmarks], params: %i[username] },
|
||||
sync_sso: { actions: %w[admin/users#sync_sso], params: %i[sso sig] },
|
||||
show: { actions: %w[users#show], params: %i[username external_id] },
|
||||
check_emails: { actions: %w[users#check_emails], params: %i[username] }
|
||||
check_emails: { actions: %w[users#check_emails], params: %i[username] },
|
||||
update: { actions: %w[users#update], params: %i[username] },
|
||||
anonymize: { actions: %w[admin/users#anonymize] },
|
||||
delete: { actions: %w[admin/users#destroy] },
|
||||
},
|
||||
email: {
|
||||
receive_emails: { actions: %w[admin/email#handle_mail] }
|
||||
|
Reference in New Issue
Block a user