@thanikon I believe you are trying to implement dynamic or custom ACLs via Code. This is not recommended on AEMaaCS, due to container deployment and the arch design of AEM on a Cloud. It is recommended to use Repoinit scripts which gets executed everytime a container shuts down and another goes up, ...