Page 1 of 1

Re: Folders as templates

PostPosted:Sun Dec 02, 2018 6:44 pm
by jllort
This feature is currently only implemented in the professional edition. Now you can apply copy, but will not clone the security as you expected. Should make some modifications in the source code for it. If you want to work on it I can guide about what methods should be modified.

Re: Folders as templates

PostPosted:Thu Dec 06, 2018 11:39 am
by jllort
Should start from ExtendedAttributes.java class adding a new boolean variable named security.
follow with DbFolderModule.java with the method extendedCopy(String token, String fldId, String dstId, ExtendedAttributes extAttr)
from here the BaseFolderModule.copy where should be cloned the security values ( here must also do not forget modify BaseDocumentModule.copy and BaseMailModule.copy methods)