How to remove User Index from right hand top menu

Dear All,

I am just wondering how to remove these menu at the top right hand corner? Particularly we wanted to remove User Index.



The easiest is to restrict the view right on the page Main.UserDirectory. The user index entry in the drawer is generated by xwiki-platform/xwiki-platform-core/xwiki-platform-user/xwiki-platform-user-directory/xwiki-platform-user-directory-ui/src/main/resources/XWiki/UserIndexUIX.xml at master · xwiki/xwiki-platform · GitHub .