Disable user/groups to search or see the users list
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
0 votes
1 answers
2808 views
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>
Thanks! it should work, one more question, how can i hide it just for one or more groups?
02/26/2014
Hi,
Please edit your question instead next time (or create a new question), and post a comment so others get notified of your modifications: this does not work as a forum.
02/26/2014