We have repository with tree folder structure, where there is only one parent folder per a huge set of subfolders number of which is constantly growing.
So, there are thousands of folders with one parent folder, and there are few such folder conglomerats.
On creation of each folder background folder rule script is executed. The rule is on root folder.
The purpose is to turn off inheritence and to add default groups to each subfolder.
The rule description is
setpermissionsDescription:ActiveRun in backgroundRule applied to subfolderWhen:
Items are created or enter this folder
If all criteria are met:
Is of type (or sub type) 'Folder'
Execute 'setpermisions.js' script
It is done via rule, because it is not possible to turn off inheritence via CMIS.
Till now we have never problems with such folder rule execution, so there we no even need to make any error logging for them.
But we have one occasion, when one subfolder was created and default groups were not added.
So the question is, does folder rule mechanism have some limitation?
Alfresco Community (Build: 201612)