mirror of
https://github.com/discourse/discourse.git
synced 2024-11-30 14:55:40 +08:00
FEATURE: Add users:log_out API key scope (#11359)
This commit is contained in:
parent
97eae4e3ad
commit
f56c4b78da
|
@ -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] },
|
||||
},
|
||||
|
|
|
@ -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:
|
||||
|
|
Loading…
Reference in New Issue
Block a user