Netcentric / accesscontroltool

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

version control #139

Open tongc opened 7 years ago

tongc commented 7 years ago

Hi,

Sorry if this is slightly off the topic of using ACL tool. But I wonder if there is a way to rollback the changes made by ACL tool? (the way I can think of is that revert the yaml file and execute using the ACL tool again). But ideally we'd like to do a "restore" rather than "reapply". I assume everything in AEM is stored using jackrabbit so everything can be version controlled?

thanks

ghenzler commented 7 years ago

Hi @tongc, we create the AC configurations for a project in SCM (git) and install it with the software version (often using the install hook to make applying ACLs automatic during SW installation). This makes sense as software versions often rely on a certain set of ACLs. To rollback to an old version we would normally install an old version of the ACLs or alternatively, rollback changes to the AC Config in git and deliver it with the next SW release.

If you want to rollback to a version even before the AC Tool was introduced, you would have to at least install it to start with and then create a dump. You could reapply that later.

kwin commented 7 years ago

Of course a good patch adding that functionality (of optionally creating a version before installing anything with the ACTool) would also be great.