From 6911024f33b60be82f7b12d122d2e2443d49b687 Mon Sep 17 00:00:00 2001 From: Sam Date: Sun, 19 Jun 2022 20:32:38 +0200 Subject: [PATCH] Client - display 'application:write' scope only if user is admin --- .../components/User/UserApps/AddUserApp.vue | 28 ++++++++++++++++--- fittrackee_client/src/utils/oauth.ts | 3 +- 2 files changed, 26 insertions(+), 5 deletions(-) diff --git a/fittrackee_client/src/components/User/UserApps/AddUserApp.vue b/fittrackee_client/src/components/User/UserApps/AddUserApp.vue index 6893cc6e..dc64ffe9 100644 --- a/fittrackee_client/src/components/User/UserApps/AddUserApp.vue +++ b/fittrackee_client/src/components/User/UserApps/AddUserApp.vue @@ -49,7 +49,7 @@ {{ $t('oauth2.APP.SCOPE.LABEL') }}*
@@ -86,12 +86,18 @@