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

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

diff --git a/app/models/api_key_scope.rb b/app/models/api_key_scope.rb
index 2bf69db..f4cb44e 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 0066ca2..8148481 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.
 

GitHub sha: 444e21b12d4a98768f839ecffd8d2e60ade44b64

This commit appears in #13742 which was approved by pmusaraj. It was merged by tgxworld.