Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Validation of the final permission of a user & compare it to an older state #457

Open
joerghoh opened this issue May 7, 2020 · 2 comments

Comments

@joerghoh
Copy link

joerghoh commented May 7, 2020

I inherited an overly complex roles&rights structure, which was fortunately already being implemented with the AC tool.
Right now I am in the process of cleaning up these, and it goes together with a great amount of validation and testing if the changed setup results in the same permissions for given users or if their permission have been changed (hopefully in the way I anticipated).

Right now the only way to find out is to manually check this, which is often incomplete and a consuming process. It would be great if that could be automated in a way, that I can review a diff of effective changes for certain users and paths (which I have do define upfront).
Executing this in an AEM instance is ok (although using an In-Memory Oak repo for easier automation would be great).

This would lead to a greater confidence into changes and avoids unnecessary reworks caused by user feedback.

@ghenzler
Copy link
Member

Two options come to my mind that work today:

Now the latter one could maybe also be created automatically saving a diff compared to the last time at the execution sub folder of /var/statistics/achistory (downside is that it would have to query all ACLs again which takes the bulk of the execution time for large installations) - but maybe having it externally in a git repo is even more useful.

@jochenkoschorke
Copy link
Contributor

Regarding https://github.com/Netcentric/access-control-validator, version 1.0.0 has been released meanwhile

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants