Hi
I would like to automate a way to create a template with subfolders and permissions.
When I create a folder structure on the Templates section, and set the roles permissions to it, and copy it to the Taxonomy section, all the permissions get lost. Is it possible to copy the folders and keep the permissions to it?
If it is not possible, I would like to create a simple script to create that folder structure. I played with the scripting, and I was able to create the folders and subfolders using OKMFolder.getInstance().createSimple(), but I did not find the way to set the roles and permissions to the folder created. Is there a way to do it via scripting?
Thanks in advance for any help!
I would like to automate a way to create a template with subfolders and permissions.
When I create a folder structure on the Templates section, and set the roles permissions to it, and copy it to the Taxonomy section, all the permissions get lost. Is it possible to copy the folders and keep the permissions to it?
If it is not possible, I would like to create a simple script to create that folder structure. I played with the scripting, and I was able to create the folders and subfolders using OKMFolder.getInstance().createSimple(), but I did not find the way to set the roles and permissions to the folder created. Is there a way to do it via scripting?
Thanks in advance for any help!