FEATURE: Add user update, anonymize and delete API scopes (#11335)
This commit is contained in:
parent
7ad2c2bdd8
commit
0c685a46de
|
@ -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] }
|
||||
|
|
|
@ -3752,6 +3752,9 @@ en:
|
|||
sync_sso: Synchronize a user using SSO.
|
||||
show: Obtain information about an user.
|
||||
check_emails: List user emails.
|
||||
update: Update user profile information.
|
||||
anonymize: Anonymize user accounts.
|
||||
delete: Delete user accounts.
|
||||
email:
|
||||
receive_emails: Combine this scope with the mail-receiver to process incoming emails.
|
||||
|
||||
|
|
Loading…
Reference in New Issue