Client - display 'application:write' scope only if user is admin

This commit is contained in:
Sam
2022-06-19 20:32:38 +02:00
parent 63af0b70d9
commit 6911024f33
2 changed files with 26 additions and 5 deletions

View File

@ -1,5 +1,4 @@
export const oauth2_scopes = [
'application:write',
'profile:read',
'profile:write',
'users:read',
@ -7,3 +6,5 @@ export const oauth2_scopes = [
'workouts:read',
'workouts:write',
]
export const admin_oauth2_scopes = ['application:write']