How to modify tab rights
I need to delegate right management for some workspaces. In this way, I want to hide others management sub-tabs like tab_local_configuration or tab_manage_subscriptions ?
Instead of changing anything on “tab_manage”, I try to create new tab with studio like “My_delegation-tab” where I could expose sub_tabs but it never work…
How can I do that with Studio ?
Is it sufficient to "clone" the rights management tab ? To be able to manage rights, I think your user need to have the "Manage everything" permission. So he can view the original "Manage" tab and all sub-tabs.
Thank you for the answer.
In fact this is my problem, I try to hide other sub-tabs because users don't need to use it.
They just have to manage "sharing" workspaces…
example : see http://explorer.nuxeo.org/nuxeo/site/distribution/Nuxeo%20Platform-5.8/viewContribution/org.nuxeo.ecm.platform.actions--actions/ open the XML Source (bottom of the right side)
search "TAB_MANAGE_sub_tab" and for each action (except TAB_RIGHTS action) add a filter
you can reuse : adminCenterAccess see http://explorer.nuxeo.org/nuxeo/site/distribution/Nuxeo%20Platform-5.8/viewContribution/org.nuxeo.connect.client.actions--filters
You can redefine a new sub tab (and follow instructions on http://doc.nuxeo.com/x/bICo#Tabs-Tabswidgettypes on 5.8) but the default rights subtab is not using widgets, so you'll have to define your own widget of type “template” and define the corresponding xhtml (or make it reference the standard template, for instance).