Skip to content
Georg Henzler edited this page Nov 27, 2015 · 11 revisions

Documentation

https://github.com/Netcentric/accesscontroltool/blob/develop/README.md

Tips & Tricks

1. How to delete old groups and their ACEs not used any more.

NOTE: If there is a one-to-one mapping from old groups to new groups (e.g. if just location or naming scheme has changed), the new property "migrateFrom" as implemented in issue #44 can be used

In case if you changed your access concept and you need to delete a lot of old groups placed in different hierarchical folders as well as all old groups ACEs the next way will reduce your time by doing it automatically and quickly:

  • leave the old groups inside of yaml config files;
  • redefine the group property "path" to the "/home/groups/oldgroups" for example;
  • delete the membership from properties "isMemberOf:" and "members:" or properties themselves from configuration of old groups in the yaml config files;
  • delete ACE configuration of old groups under the "- ace_config:" section;
  • install the new configurations to AEM;
  • trigger the 'execute' method of the AC service (all ACEs of old groups will be deleted);
  • after that you can delete the old groups definition inside of yaml config files and also in AEM under "/home/groups/oldgroups" over CRXDE.
Clone this wiki locally