From 573bbb9fd3ba4c2822bde1db7e783b2ab6152b37 Mon Sep 17 00:00:00 2001 From: Konrad Windszus Date: Wed, 10 Jul 2024 16:20:12 +0200 Subject: [PATCH] Also switch to principal based service user mapping for non-Cloud distribution https://experienceleague.adobe.com/en/docs/experience-manager-cloud-service/content/security/best-practices-for-sling-service-user-mapping-and-service-user-definition This closes #739 --- ...impl.ServiceUserMapperImpl.amended-ncActoolSystemUser.config | 1 - ...impl.ServiceUserMapperImpl.amended-ncActoolSystemUser.config | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) delete mode 100644 accesscontroltool-package/src/main/jcr_root-cloud/apps/netcentric/actool/config/org.apache.sling.serviceusermapping.impl.ServiceUserMapperImpl.amended-ncActoolSystemUser.config diff --git a/accesscontroltool-package/src/main/jcr_root-cloud/apps/netcentric/actool/config/org.apache.sling.serviceusermapping.impl.ServiceUserMapperImpl.amended-ncActoolSystemUser.config b/accesscontroltool-package/src/main/jcr_root-cloud/apps/netcentric/actool/config/org.apache.sling.serviceusermapping.impl.ServiceUserMapperImpl.amended-ncActoolSystemUser.config deleted file mode 100644 index b651676d8..000000000 --- a/accesscontroltool-package/src/main/jcr_root-cloud/apps/netcentric/actool/config/org.apache.sling.serviceusermapping.impl.ServiceUserMapperImpl.amended-ncActoolSystemUser.config +++ /dev/null @@ -1 +0,0 @@ -user.mapping=["biz.netcentric.cq.tools.accesscontroltool.bundle\=[actool-service]","biz.netcentric.cq.tools.accesscontroltool.startuphook.bundle\=[actool-service]"] \ No newline at end of file diff --git a/accesscontroltool-package/src/main/jcr_root/apps/netcentric/actool/config/org.apache.sling.serviceusermapping.impl.ServiceUserMapperImpl.amended-ncActoolSystemUser.config b/accesscontroltool-package/src/main/jcr_root/apps/netcentric/actool/config/org.apache.sling.serviceusermapping.impl.ServiceUserMapperImpl.amended-ncActoolSystemUser.config index d5828f953..b651676d8 100644 --- a/accesscontroltool-package/src/main/jcr_root/apps/netcentric/actool/config/org.apache.sling.serviceusermapping.impl.ServiceUserMapperImpl.amended-ncActoolSystemUser.config +++ b/accesscontroltool-package/src/main/jcr_root/apps/netcentric/actool/config/org.apache.sling.serviceusermapping.impl.ServiceUserMapperImpl.amended-ncActoolSystemUser.config @@ -1 +1 @@ -user.mapping=["biz.netcentric.cq.tools.accesscontroltool.bundle\=actool-service","biz.netcentric.cq.tools.accesscontroltool.startuphook.bundle\=actool-service"] \ No newline at end of file +user.mapping=["biz.netcentric.cq.tools.accesscontroltool.bundle\=[actool-service]","biz.netcentric.cq.tools.accesscontroltool.startuphook.bundle\=[actool-service]"] \ No newline at end of file