cancel
Showing results for 
Search instead for 
Did you mean: 

Disable user/groups to search or see the users list

nicoespinoza_
Champ in-the-making
Champ in-the-making

Hi, there is "Users & Groups" tab into "HOME" tab. I need to block this "Users & Groups" tab or dont let to some users o groups look for other user o see the users list. Where i can configure this? Thanks

1 ACCEPTED ANSWER

Thomas_Roger
Star Contributor
Star Contributor

Hi,

You can disable this tab by using the following contribution:

<require>org.nuxeo.ecm.user.center.actions</require>
<extension target="org.nuxeo.ecm.platform.actions.ActionService"
  point="actions">
  <action id="UsersGroupsHome" enabled="false" />
</extension>

If you need more control over this tab, you can also override the default filter contribution controlling it:

<require>org.nuxeo.connect.client.actions</require>
<extension target="org.nuxeo.ecm.platform.actions.ActionService"
  point="filters">
  <filter id="usersGroupsManagementAccess">
    <rule grant="true">
      <condition>#{currentUser.administrator}</condition>
      <condition>#{currentUser.isMemberOf('powerusers')}</condition>
    </rule>
  </filter>
</extension>

see http://explorer.nuxeo.org/nuxeo/site/distribution/Nuxeo%20Platform-5.8/viewContribution/org.nuxeo.co...

View answer in original post

3 REPLIES 3

Thomas_Roger
Star Contributor
Star Contributor

Hi,

You can disable this tab by using the following contribution:

<require>org.nuxeo.ecm.user.center.actions</require>
<extension target="org.nuxeo.ecm.platform.actions.ActionService"
  point="actions">
  <action id="UsersGroupsHome" enabled="false" />
</extension>

If you need more control over this tab, you can also override the default filter contribution controlling it:

<require>org.nuxeo.connect.client.actions</require>
<extension target="org.nuxeo.ecm.platform.actions.ActionService"
  point="filters">
  <filter id="usersGroupsManagementAccess">
    <rule grant="true">
      <condition>#{currentUser.administrator}</condition>
      <condition>#{currentUser.isMemberOf('powerusers')}</condition>
    </rule>
  </filter>
</extension>

see http://explorer.nuxeo.org/nuxeo/site/distribution/Nuxeo%20Platform-5.8/viewContribution/org.nuxeo.co...

Thanks! it should work, one more question, how can i hide it just for one or more groups?

Hi,

Getting started

Attention: Blogs & Forums are in READ-ONLY mode from Oct 9-19 as we transition to our new platform. Learn more.

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.