From a5d7a8151917a5073595d98e84f99d543c45f079 Mon Sep 17 00:00:00 2001 From: advplyr Date: Sat, 30 Mar 2024 14:17:34 -0500 Subject: [PATCH] Clean up formatting of advanced group/permission claims on authentication page --- client/pages/config/authentication.vue | 15 ++++++++------- server/Auth.js | 2 +- 2 files changed, 9 insertions(+), 8 deletions(-) diff --git a/client/pages/config/authentication.vue b/client/pages/config/authentication.vue index cecccee4..9f2e71ec 100644 --- a/client/pages/config/authentication.vue +++ b/client/pages/config/authentication.vue @@ -82,19 +82,20 @@

{{ $strings.LabelAutoRegisterDescription }}

-
{{ $strings.LabelOpenIDClaims }}
-
-
+

{{ $strings.LabelOpenIDClaims }}

+ +
+
-

+

-
-
+
+
-
+

{{ newAuthSettings.authOpenIDSamplePermissions }}
diff --git a/server/Auth.js b/server/Auth.js
index b52ee727..8ba87509 100644
--- a/server/Auth.js
+++ b/server/Auth.js
@@ -287,7 +287,7 @@ class Auth {
       throw new Error(`Advanced permissions claim ${absPermissionsClaim} not found in userinfo`)
 
     if (user.updatePermissionsFromExternalJSON(absPermissions)) {
-      Logger.debug(`[Auth] openid callback: Updating advanced perms for user "${user.username}" using "${JSON.stringify(absPermissions)}"`)
+      Logger.info(`[Auth] openid callback: Updating advanced perms for user "${user.username}" using "${JSON.stringify(absPermissions)}"`)
       await Database.userModel.updateFromOld(user)
     }
   }