Skip to content
This repository has been archived by the owner on Sep 25, 2022. It is now read-only.

Ability to handle ACL creation #8

Open
pmonks opened this issue Dec 12, 2013 · 4 comments
Open

Ability to handle ACL creation #8

pmonks opened this issue Dec 12, 2013 · 4 comments

Comments

@pmonks
Copy link
Owner

pmonks commented Dec 12, 2013

Migrated from https://code.google.com/p/alfresco-bulk-filesystem-import/issues/detail?id=100

It would be ideal if the bulk filesystem import tool could also handle ACLs. Possibly add a configuration in the properties.xml file for each ACE.

@mayasd
Copy link

mayasd commented Jan 5, 2016

Hi,
It's not still possible to import ACLs with properties.xml ?

@pmonks
Copy link
Owner Author

pmonks commented Jan 5, 2016

That's correct. You should watch this ticket in order to be notified of any work here.

In the meantime you can post-process the imported content to set ACLs. This is a relatively common activity and one that Alfresco's SI partners and/or prof. svcs. team can assist with.

@zhihailiu
Copy link
Contributor

Peter, is there a plan to tackle this issue anytime soon? In addition to the post-process approach as you suggested, if anyone wants to roll up his/her sleeves, does the bulk import tool code provide any API or hook to support it? You know, something similar to onCreateNode in Alfresco Behavior, or AOP interceptor? Appreciate your help.

@pmonks
Copy link
Owner Author

pmonks commented Oct 29, 2016

I don't have any immediate plan to fix it, for two reasons:

  1. I consider post-processing to be a better approach, in part because...
  2. Richard McKnight implemented this for v1.x of the tool and found that the performance impact was dire. IIRC it seems that Alfresco doesn't expect ACLs to change rapidly, and doing so causes issues with database and cache thrashing.

That said, I'd be open to PRs that added this capability in a way that didn't impact import performance for those who don't need to set ACLs and/or are happy to set them via post-processing.

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

No branches or pull requests

3 participants