Add Mastodon admin scopes

This commit is contained in:
Alex Gleason 2022-07-21 15:26:46 -05:00
parent 2941c121e9
commit cff1762cc3
No known key found for this signature in database
GPG key ID: 7211D1F99744FBB7

View file

@ -525,7 +525,7 @@ const getInstanceFeatures = (instance: Instance) => {
* @see POST /api/v1/apps
* @see POST /oauth/token
*/
scopes: v.software === PLEROMA ? 'read write follow push admin' : 'read write follow push',
scopes: v.software === PLEROMA ? 'read write follow push admin' : 'read write follow push admin:read admin:write',
/**
* Ability to manage account security settings.