<config>
<actions>
<action-group id="space_browse">
<show-link>false</show-link>
<action idref="delete_space" hide="true" />
</action-group>
<action-group id="browse_actions_menu">
<show-link>false</show-link>
<action idref="delete_space" hide="true" />
</action-group>
<action-group id="doc_details_actions">
<action idref="delete_doc" hide="true" />
</action-group>
<action-group id="space_details_actions">
<action idref="delete_space" hide="true" />
</action-group>
<action-group id="document_browse">
<show-link>false</show-link>
<action idref="delete_doc" hide="true" />
</action-group>
<action-group id="document_browse_menu">
<action idref="delete_space" hide="true" />
</action-group>
<action-group id="space_browse_menu">
<action idref="delete_space" hide="true" />
</action-group>
</actions>
</config>
Here i added code to hide copy & cut options on space and document in alfresco, add the following code in web-client-config-custom.xml
<config>
<actions>
<action-group id="space_browse">
<show-link>false</show-link>
<action idref="cut_node" hide="true" />
<action idref="copy_node" hide="true" />
</action-group>
<action-group id="browse_actions_menu">
<show-link>false</show-link>
<action idref="cut_node" hide="true" />
<action idref="copy_node" hide="true" />
</action-group>
<action-group id="doc_details_actions">
<action idref="cut_node" hide="true" />
<action idref="copy_node" hide="true" />
</action-group>
<action-group id="space_details_actions">
<action idref="cut_node" hide="true" />
<action idref="copy_node" hide="true" />
</action-group>
<action-group id="document_browse">
<show-link>false</show-link>
<action idref="cut_node" hide="true" />
<action idref="copy_node" hide="true" />
</action-group>
<action-group id="document_browse_menu">
<action idref="cut_node" hide="true" />
<action idref="copy_node" hide="true" />
</action-group>
<action-group id="space_browse_menu">
<action idref="cut_node" hide="true" />
<action idref="copy_node" hide="true" />
</action-group>
</actions>
</config>
Thanks Chandu Nice Guidence :)
ReplyDeletei have one question 4 you, please help me.
Q.i have two students s1 and s2 and there is one Assignment folder in share application. Suppose s1 has uploaded one file it should not be seen by s2.In the same case whenever s2 upload any file in the same Assignment folder it should not be seen by s1.
tell me how can i apply permissions in this case in share application both students role as contributor.
Any help would be Appreciated
Thanks :)
Kind Regards,
Keshav
web-client-config-custom.xml file is not there.
ReplyDelete