Merge branch 'mastodon-admin-scopes' into 'develop'

Add Mastodon admin scopes

See merge request soapbox-pub/soapbox-fe!1668
This commit is contained in:
Alex Gleason 2022-07-22 14:15:16 +00:00
commit 6be7c58883

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.