Authentication Required

Hide Edit tab for users with access rights "write"

Hi There,

In Nuxeo 5.8 I want to hide the edit tab for users with access rights : “write”. The tab should be available for users with access rights: “manage everything”. In Studio I've added the following extension points:

For some reason however the tab is also hidden for users with “manage everything” rights, I also noticed that when I don't have the <type>WorkspaceRoot</type> specified it also hides the button in the workspaceroot. Is there something I'm not doing right?

The mistake in your code was in the filter. When edit tab is disabled for Write permission and you are enabling it for Manage Everything ,it doesn't make sense as manage everything has Write right with in it. So even *Manage Everything * user is getting blocked.

My code just enables Edit tab for Manage Everything right and blocks for all other rights.