From 3f863e941ce34f259c3d02d3b898e244a5f4cf31 Mon Sep 17 00:00:00 2001 From: dhaura Date: Mon, 9 Dec 2024 17:26:06 +0530 Subject: [PATCH] Enable child org notification template overriding capability. --- .../resources/system-api-resource.xml | 20 ++++++++++--- .../resources/system-api-resource.xml.j2 | 18 ++++++++++-- .../resources/resource-access-control-v2.xml | 29 ++++++++++++++++++- .../resource-access-control-v2.xml.j2 | 27 +++++++++++++++++ 4 files changed, 86 insertions(+), 8 deletions(-) diff --git a/features/api-resource-mgt/org.wso2.carbon.identity.api.resource.mgt.server.feature/resources/system-api-resource.xml b/features/api-resource-mgt/org.wso2.carbon.identity.api.resource.mgt.server.feature/resources/system-api-resource.xml index da31c426930a..c5a0e1c3d17b 100644 --- a/features/api-resource-mgt/org.wso2.carbon.identity.api.resource.mgt.server.feature/resources/system-api-resource.xml +++ b/features/api-resource-mgt/org.wso2.carbon.identity.api.resource.mgt.server.feature/resources/system-api-resource.xml @@ -795,10 +795,16 @@ + type="ORGANIZATION"> - + + + + + type="ORGANIZATION"> + + + + type="ORGANIZATION"> - + + + + type="ORGANIZATION"> + + + - internal_org_email_mgt_view,internal_org_template_mgt_view + internal_org_template_mgt_view + + + internal_org_template_mgt_create + + + internal_org_template_mgt_update + + + internal_org_template_mgt_delete internal_org_template_mgt_view + + internal_org_template_mgt_create + + + internal_org_template_mgt_update + + + internal_org_template_mgt_delete + @@ -695,6 +713,15 @@ internal_org_email_mgt_view + + internal_org_email_mgt_create + + + internal_org_email_mgt_update + + + internal_org_email_mgt_delete + diff --git a/features/identity-core/org.wso2.carbon.identity.core.server.feature/resources/resource-access-control-v2.xml.j2 b/features/identity-core/org.wso2.carbon.identity.core.server.feature/resources/resource-access-control-v2.xml.j2 index cb0764b2f945..13667df93257 100644 --- a/features/identity-core/org.wso2.carbon.identity.core.server.feature/resources/resource-access-control-v2.xml.j2 +++ b/features/identity-core/org.wso2.carbon.identity.core.server.feature/resources/resource-access-control-v2.xml.j2 @@ -707,9 +707,27 @@ internal_org_template_mgt_view + + internal_org_template_mgt_create + + + internal_org_template_mgt_update + + + internal_org_template_mgt_delete + internal_org_template_mgt_view + + internal_org_template_mgt_create + + + internal_org_template_mgt_update + + + internal_org_template_mgt_delete + @@ -744,6 +762,15 @@ internal_org_email_mgt_view + + internal_org_email_mgt_create + + + internal_org_email_mgt_update + + + internal_org_email_mgt_delete +