How to hide user "home" menu tabs ? (5.6 and +)


I have to hide user-centric tabs in the “home” menu :

  • Authorized Applications
  • Activity Stream
  • Mini Messages

I tried this contrib :

<?xml version="1.0" encoding="UTF-8"?>
<component name="org.mysite.ecm.action.config">

     <extension target="org.nuxeo.ecm.platform.actions.ActionService" point="actions">
          <!-- Hide tabs from "Home" user-centric menu :
               - Authorized Applications,
               - Activity Stream
               - Mini Messages
          <action id="AuthorizedApplication" enabled="false" />
          <action id="UserActivityStream" enabled="false"/>
          <action id="UserMiniMessages" enabled="false"/>

As a result, the “Authorized Applications” tab no longer appears ; OK.
Other actions (“Activity Stream” and “Mini Messages“) are no longer available but the corresponding tabs still appear ; NOK.

I only want to hide the actions ((“Activity Stream” and “Mini Messages“) in the user menu, while keeping them accessible via a dashboard gadget. How do I do this?

Thanks for your help,

0 votes

0 answers