Add missing admin scopes (fix #20892) (#20918)

This commit is contained in:
trwnh 2022-11-17 03:50:21 -06:00 committed by GitHub
parent c18c565cb3
commit 2e118aa0e6

View file

@ -98,9 +98,19 @@ Doorkeeper.configure do
:'admin:read', :'admin:read',
:'admin:read:accounts', :'admin:read:accounts',
:'admin:read:reports', :'admin:read:reports',
:'admin:read:domain_allows',
:'admin:read:domain_blocks',
:'admin:read:ip_blocks',
:'admin:read:email_domain_blocks',
:'admin:read:canonical_email_blocks',
:'admin:write', :'admin:write',
:'admin:write:accounts', :'admin:write:accounts',
:'admin:write:reports', :'admin:write:reports',
:'admin:write:domain_allows',
:'admin:write:domain_blocks',
:'admin:write:ip_blocks',
:'admin:write:email_domain_blocks',
:'admin:write:canonical_email_blocks',
:crypto :crypto
# Change the way client credentials are retrieved from the request object. # Change the way client credentials are retrieved from the request object.