From 4e1fdd3730e8259157012fda783e68b7bc9dd244 Mon Sep 17 00:00:00 2001 From: rushannanayakkara Date: Thu, 24 Oct 2024 18:54:13 +0530 Subject: [PATCH] Remove dual scopes from Notification template api access controls and refactor to placement. --- .../resources/resource-access-control-v2.xml | 38 +++++++-------- .../resource-access-control-v2.xml.j2 | 48 +++++++++---------- 2 files changed, 43 insertions(+), 43 deletions(-) diff --git a/features/identity-core/org.wso2.carbon.identity.core.server.feature/resources/resource-access-control-v2.xml b/features/identity-core/org.wso2.carbon.identity.core.server.feature/resources/resource-access-control-v2.xml index 607f8cdf3746..2f270e84cfb0 100644 --- a/features/identity-core/org.wso2.carbon.identity.core.server.feature/resources/resource-access-control-v2.xml +++ b/features/identity-core/org.wso2.carbon.identity.core.server.feature/resources/resource-access-control-v2.xml @@ -626,25 +626,6 @@ internal_claim_meta_delete - - - internal_org_email_mgt_view - - - - - internal_email_mgt_view - - - internal_email_mgt_create - - - internal_email_mgt_update - - - internal_email_mgt_delete - - internal_org_email_mgt_view,internal_org_template_mgt_view @@ -682,6 +663,25 @@ internal_template_mgt_delete + + + internal_org_email_mgt_view + + + + + internal_email_mgt_view + + + internal_email_mgt_create + + + internal_email_mgt_update + + + internal_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 08998327c58c..cb127f2bd417 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 @@ -675,28 +675,9 @@ internal_claim_meta_delete - - - internal_org_email_mgt_view - - - - - internal_email_mgt_view - - - internal_email_mgt_create - - - internal_email_mgt_update - - - internal_email_mgt_delete - - - internal_org_email_mgt_view,internal_org_template_mgt_view + internal_org_template_mgt_view internal_org_template_mgt_view @@ -704,16 +685,16 @@ - internal_email_mgt_view,internal_template_mgt_view + internal_template_mgt_view - internal_email_mgt_create,internal_template_mgt_create + internal_template_mgt_create - internal_email_mgt_update,internal_template_mgt_update + internal_template_mgt_update - internal_email_mgt_delete,internal_template_mgt_delete + internal_template_mgt_delete internal_template_mgt_view @@ -731,6 +712,25 @@ internal_template_mgt_delete + + + internal_org_email_mgt_view + + + + + internal_email_mgt_view + + + internal_email_mgt_create + + + internal_email_mgt_update + + + internal_email_mgt_delete + +