Search code examples
alfrescoalfresco-sharealfresco-enterprise

Restrict folder templates in Alfresco share to a particular site


I am using Alfresco enterprise 6.2.2

I am trying to create folder structures in Alfresco, and limit those to users of particular site. Is there a way to do it?

Thanks


Solution

  • Yes,You can limit Folder template menu for particular site or for particular group.

    You need to extend toolbar.js using share extension approach.

    Below link is for your reference. same approach you can take.

    https://heshawa.wordpress.com/alfresco-create-from-template-menu-arrange-with-sub-menues/

    Ex. Customization for particular group.

    <extension>
        <modules>
            <module>
                <id>Customize title menu for Collaborations</id>
                <version>1.0</version>
                <customizations>
                    ....
                </customizations>
                
                <evaluator type="group.module.evaluator">
                    <params>
                        <groups>GROUP_COLLABORATION_MENU,GROUP_COLLABORATION_MANAGERS,GROUP_ALFRESCO_ADMINISTRATORS</groups>
                        <groupRelation>OR</groupRelation>
                    </params>
                </evaluator>
                <auto-deploy>true</auto-deploy>
                
            </module>
        </modules>
    </extension>