FEATURE: Add users:log_out API key scope (#11359)

This commit is contained in:
David Taylor 2020-11-26 10:39:38 +00:00 committed by GitHub
parent 97eae4e3ad
commit f56c4b78da
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 0 deletions

View File

@ -39,6 +39,7 @@ class ApiKeyScope < ActiveRecord::Base
show: { actions: %w[users#show], params: %i[username external_id] },
check_emails: { actions: %w[users#check_emails], params: %i[username] },
update: { actions: %w[users#update], params: %i[username] },
log_out: { actions: %w[admin/users#log_out] },
anonymize: { actions: %w[admin/users#anonymize] },
delete: { actions: %w[admin/users#destroy] },
},

View File

@ -3753,6 +3753,7 @@ en:
show: Obtain information about an user.
check_emails: List user emails.
update: Update user profile information.
log_out: Log out all sessions for a user.
anonymize: Anonymize user accounts.
delete: Delete user accounts.
email: