From 0cf32fa69e7df795c01575cdc95378087032b9e0 Mon Sep 17 00:00:00 2001 From: Arnab Dutta Date: Thu, 22 Feb 2024 19:43:57 +0530 Subject: [PATCH] feat: shift SESSION_TIMEOUT_IN_MINUTES to admin-ui configuration in persistence #1575 Signed-off-by: Arnab Dutta --- .../jans-auth/role-scope-mappings.json | 25 ++++++++++++++++--- 1 file changed, 21 insertions(+), 4 deletions(-) diff --git a/jans-linux-setup/jans_setup/templates/jans-auth/role-scope-mappings.json b/jans-linux-setup/jans_setup/templates/jans-auth/role-scope-mappings.json index 6eb085353e3..70f628ca37f 100644 --- a/jans-linux-setup/jans_setup/templates/jans-auth/role-scope-mappings.json +++ b/jans-linux-setup/jans_setup/templates/jans-auth/role-scope-mappings.json @@ -467,6 +467,18 @@ "description": "", "defaultPermissionInToken": false, "tag": "saml-scope" + }, + { + "permission": "https://jans.io/oauth/jans-auth-server/config/adminui/properties.readonly", + "description": "", + "defaultPermissionInToken": true, + "tag": "properties" + }, + { + "permission": "https://jans.io/oauth/jans-auth-server/config/adminui/properties.write", + "description": "", + "defaultPermissionInToken": false, + "tag": "properties" } ], "rolePermissionMapping": [ @@ -489,7 +501,8 @@ "https://jans.io/oauth/jans-auth-server/config/properties.readonly", "https://jans.io/oauth/config/database/couchbase.readonly", "https://jans.io/oauth/config/database/sql.readonly", - "https://jans.io/oauth/config/stats.readonly" + "https://jans.io/oauth/config/stats.readonly", + "https://jans.io/oauth/jans-auth-server/config/adminui/properties.readonly" ] }, { @@ -527,7 +540,8 @@ "https://jans.io/oauth/config/database/sql.write", "readonly", "https://jans.io/oauth/config/stats.readonly", - "jans_stat" + "jans_stat", + "https://jans.io/oauth/jans-auth-server/config/adminui/properties.readonly" ] }, { @@ -573,7 +587,8 @@ "https://jans.io/oauth/config/database/sql.write", "readonly", "https://jans.io/oauth/config/stats.readonly", - "jans_stat" + "jans_stat", + "https://jans.io/oauth/jans-auth-server/config/adminui/properties.readonly" ] }, { @@ -641,7 +656,9 @@ "https://jans.io/oauth/jans-auth-server/config/properties.write", "https://jans.io/auth/ssa.admin", "https://jans.io/auth/ssa.portal", - "https://jans.io/auth/ssa.developer" + "https://jans.io/auth/ssa.developer", + "https://jans.io/oauth/jans-auth-server/config/adminui/properties.readonly", + "https://jans.io/oauth/jans-auth-server/config/adminui/properties.write" ] } ]