From b49188f5df5fae501363895c4e79860c0d0610fa Mon Sep 17 00:00:00 2001 From: Sergiu Vidrascu Date: Fri, 22 Feb 2019 16:02:07 +0200 Subject: [PATCH] AUTH-255: Add extraAdminUserRealmRoles posibilities (#78) * AUTH-255: Add extraAdminUserRealmRoles posibilities * AUTH-255: Bump Version --- helm/alfresco-identity-service/Chart.yaml | 2 +- helm/alfresco-identity-service/alfresco-realm.json | 11 ++++++++++- 2 files changed, 11 insertions(+), 2 deletions(-) diff --git a/helm/alfresco-identity-service/Chart.yaml b/helm/alfresco-identity-service/Chart.yaml index bc28741b..3ca432c6 100644 --- a/helm/alfresco-identity-service/Chart.yaml +++ b/helm/alfresco-identity-service/Chart.yaml @@ -1,5 +1,5 @@ name: alfresco-identity-service -version: 1.1.1 +version: 1.1.2 description: The Alfresco Identity Service will become the central component responsible for identity-related capabilities needed by other Alfresco software, such as managing users, groups, roles, profiles, and authentication. Currently it deals just with authentication. keywords: - alfresco diff --git a/helm/alfresco-identity-service/alfresco-realm.json b/helm/alfresco-identity-service/alfresco-realm.json index 052f1f3c..633bbcd8 100644 --- a/helm/alfresco-identity-service/alfresco-realm.json +++ b/helm/alfresco-identity-service/alfresco-realm.json @@ -1707,7 +1707,16 @@ } ], "disableableCredentialTypes" : [ "password" ], "requiredActions" : [ ], - "realmRoles" : [ "uma_authorization", "user", "offline_access" ], + "realmRoles" : [ + "uma_authorization", + "user", + "offline_access" + {{- if .Values.realm.alfresco.extraAdminUserRealmRoles -}} + {{- range .Values.realm.alfresco.extraAdminUserRealmRoles -}} + , + {{ . | toJson }} + {{- end }} + {{- end }} ], "clientRoles" : { "realm-management": [ "view-clients", "manage-users", "manage-clients", "view-users", "manage-realm", "view-realm" ], "account" : [ "manage-account", "view-profile" ]