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 ?

0 votes

1 answers

1577 views

ANSWER

Hi,

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.

IMHO

10/29/2013

Hi,

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…

Alex

10/30/2013

ok, so you can overrides action filters for the other sub-tabs

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

11/05/2013



Hi,

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).

0 votes