Netcentric / accesscontroltool

Rights and roles management for AEM made easy
Eclipse Public License 1.0
150 stars 92 forks source link

AEMaaCS: permissions set only on immutable content #645

Open dominik-przybyl-wttech opened 2 years ago

dominik-przybyl-wttech commented 2 years ago

Scenario: I've created new cloud dev instance. I've also create new project based on aem project archetype, in which I've added following changes:

It means that I don't have ACTools in my all-in-one package.
Here is PR with that changes https://github.com/dominik-przybyl-wttech/mysite/pull/1

That I've deployed this code on new cloud dev instance.

Result: Permissions have been set only on immutable content (fig1, fig2). No permissions have been set on mutable content (fig5). History logs from build phase have been saved under /apps/netcentric/achistory folder (fig3). he History logs show that yaml scripts were executed by biz.netcentric.cq.tools.actool.startuphook.impl.AcToolStartupHookServiceImpl service (trigger=startup_hook_image_build) (fig3). History logs have been created by mysite-system-user user (fig4). There is no history logs for mutable content (/var/statistics/achistory folder) (fig6).

How is this possible?

kwin commented 2 years ago

Sounds like https://github.com/Netcentric/accesscontroltool/issues/545.

dominik-przybyl-wttech commented 2 years ago

I think my case is different. In my project I don't use ACTool, I didn't add ACTool dependency in any pom. I've only added some scripts and configurations. My expectation were that nothing will happened (no permissions added, no achistory logs), but somehow I have traces ACTool execution during build phase.