Hello,
As the default TAB_RIGHTS actions is constrained by the facet
"folderish", you can register a new "CUSTOM_TAB_RIGHTS_ACTION"
<action id="CUSTOM_TAB_RIGHTS_ACTION" link="/incl/tabs/
document_rights.xhtml" order="50"
enabled="true" label="action.view.rights" icon="/icons/file.gif">
<category>VIEW_ACTION_LIST</category>
<filter-id> custom_rights </filter-id>
</action>
that would use the following filter :
<filter id="custom_rights">
<rule grant="true">
<permission>WriteSecurity</permission>
</rule>
</filter>
and don't forget to disable the original tab : <action
id="TAB_RIGHTS" enabled="false" />
More on actions and filters here : http://doc.nuxeo.org/5.1/books/
nuxeo-book/html-single/#actions
Alain
Le 12 nov. 08 à 05:28, Thanh Tran Chi a écrit :
Dear Sir/Madam,
We are developing a system that is based on Nuxeo 5.
Regarding the permission management functions, we would like to
modify nuxeo so it alow the user to set permission on each document.
Please give me any idea if possible.
Best regards,
Tran Chi Thanh
_______________________________________________
ECM mailing list
[email protected]
http://lists.nuxeo.com/mailman/listinfo/ecm
_______________________________________________
ECM mailing list
[email protected]
http://lists.nuxeo.com/mailman/listinfo/ecm