I have an Alfresco Folder with 10000 + Children Spaces, and they are inheriting a specific role that I want to remove.
Is there any way, either by Alfresco's UI or even programmatically, to disable the inheritance for each child Space ?
The only way I've managed to do this from the UI (either /share or /alfresco ) is by picking each child and disabling it, one-by one, and that's really not an option
I also have some scripts that disable the inheritance, and while they work for one folder, when executed in a loop (fetching children on a java thread on runtime, using paging) they produce exceptions after some iterations, so I guess I'd have to dig really deep to sort this out
Thanx for any suggestions,
p.s : my Alfresco version is Alfresco 4.2.c-2
EDIT: I should make clear that in my scenario, I cannot simply disable the inheritance on the parent folder, because of the Repository design/ structure. And I really think a UI option to for batch disable inheritance is a very helpful and needed option, so I still hope that there should be an option I'm missing.