Remove Item from User Profile Menu

hi folks,

is there a way to show a user profile menu-item (settings) just for admins or a designated user group?

i can find a way to add some, but not how to remove one.

regards

Hi,

it depends what’s your need exactly. There’s currently no Administration Settings to configure which entry to enable / disable in the User Profile menu, if that’s what you want.

Now if your need is to ensure that a specific User profile menu item is always shown to specific people, you can achieve this by modifying the isActive property of the UI Extension that provides this entry: check the “Parameters to be provided” in https://www.xwiki.org/xwiki/bin/view/Documentation/DevGuide/ExtensionPoint/UserProfileMenu.

1 Like