Netcentric / accesscontroltool

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

Allow configuration option to use intermediate save() calls for large installations #149

Closed ghenzler closed 7 years ago

ghenzler commented 7 years ago

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

ghenzler commented 7 years ago

See documentation at https://github.com/Netcentric/accesscontroltool/blob/1.9.2/docs/AdvancedFeatures.md#intermediate-save-calls-during-acl-installation