12-17-2012 12:16 PM
Hello,
I want to hide the History tab for a specific group of users
How can I do that with Nuxeo Studio ?
Thank you
12-18-2012 06:36 AM
Hi,
You cannot customize the filter action in a simple click way.
In order to do that in Studio, you can redefine your action contribution by xml:
Go to Advanced Settings/XML Extensions
Create a new xml contribution
Fill it with the following code:
<require> org.nuxeo.ecm.platform.audit.web </require>
<action id="TAB_CONTENT_HISTORY" link="/incl/tabs/document_history.xhtml"
enabled="true" label="action.view.history" icon="/icons/file.gif"
order="100">
<category>VIEW_ACTION_LIST</category>
<filter-id>TAB_CONTENT_HISTORY_has_subtabs</filter-id>
<filter-id>YOUR_FILTER</filter-id>
</action>
<filter id="YOUR_FILTER">
<rule grant="true">
<permission>Manage everything</permission>
</rule>
</filter>
Then you can update this filter "YOUR_FILTER" according to the group/user roles on the document.
Depends on your business rules.
Find what you came for
We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.