mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
FEATURE: Add 'users.list' API scope (#13742)
This commit is contained in:
@@ -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] }
|
||||
|
||||
@@ -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.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user