For large installations using MongoMK, the AC tools potentially breaks the whole instance (see #147 for a rationale). This will be fixed with [1], however it there will be large installations with AEM 6.1/6.2 for quite a while without the fix for OAK-5557. Therefore it would be good to have a configuration switch that saves the the ACL for each path individually.
There are two option how to implement it
using an OSGi config property
using the global config section in the yaml config files
For large installations using MongoMK, the AC tools potentially breaks the whole instance (see #147 for a rationale). This will be fixed with [1], however it there will be large installations with AEM 6.1/6.2 for quite a while without the fix for OAK-5557. Therefore it would be good to have a configuration switch that saves the the ACL for each path individually.
There are two option how to implement it
the second option is easier as in https://github.com/Netcentric/accesscontroltool/blob/1.9.1/accesscontroltool-bundle/src/main/java/biz/netcentric/cq/tools/actool/aceservice/impl/AceServiceImpl.java#L340 the AcConfiguration instance is not available. Also the feature might only be temporarily needed.
PR #148 (that includes also this) uses the second option.
[1] https://issues.apache.org/jira/browse/OAK-5557