diff --git a/app/models/api_key_scope.rb b/app/models/api_key_scope.rb index 2bf69db9f2f..f4cb44e2f8c 100644 --- a/app/models/api_key_scope.rb +++ b/app/models/api_key_scope.rb @@ -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] } diff --git a/config/locales/client.en.yml b/config/locales/client.en.yml index 0066ca2ee6f..81484815c42 100644 --- a/config/locales/client.en.yml +++ b/config/locales/client.en.yml @@ -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.