FEATURE: Add 'users.list' API scope (#13742)

This commit is contained in:
David Taylor 2021-07-16 04:10:04 +01:00 committed by GitHub
parent 7323c65d53
commit 444e21b12d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 0 deletions

View File

@ -41,6 +41,7 @@ class ApiKeyScope < ActiveRecord::Base
log_out: { actions: %w[admin/users#log_out] },
anonymize: { actions: %w[admin/users#anonymize] },
delete: { actions: %w[admin/users#destroy] },
list: { actions: %w[admin/users#index] },
},
email: {
receive_emails: { actions: %w[admin/email#handle_mail] }

View File

@ -4023,6 +4023,7 @@ en:
log_out: Log out all sessions for a user.
anonymize: Anonymize user accounts.
delete: Delete user accounts.
list: Get a list of users.
email:
receive_emails: Combine this scope with the mail-receiver to process incoming emails.