From 1271c6272f816874c55df46ff95cd3c3396cb620 Mon Sep 17 00:00:00 2001 From: Vladislav Leonkev Date: Thu, 9 Jan 2025 15:52:37 +0100 Subject: [PATCH] add admin role --- xs-security.json | 22 ++++++++++++++++++++-- 1 file changed, 20 insertions(+), 2 deletions(-) diff --git a/xs-security.json b/xs-security.json index 0b55ae87..57863c9d 100644 --- a/xs-security.json +++ b/xs-security.json @@ -1,5 +1,9 @@ { "scopes": [ + { + "name": "$XSAPPNAME.admin", + "description": "admin" + }, { "name": "$XSAPPNAME.emcallback", "description": "Enterprise-Messaging Callback Access", @@ -12,8 +16,22 @@ "description": "Enterprise-Messaging Management Access" } ], - "attributes": [], - "role-templates": [], + "attributes": [ + { + "name": "level", + "description": "level", + "valueType": "s" + } + ], + "role-templates": [ + { + "name": "admin", + "scope-references": [ + "$XSAPPNAME.admin" + ], + "description": "cap samples multi-service shared-db" + } + ], "authorities-inheritance": false, "authorities": [ "$XSAPPNAME.emmanagement",