Menu

How to make the label not displayed, for aesthetic purposes ??

glad.xiong
2022-04-08
2022-05-05
  • glad.xiong

    glad.xiong - 2022-04-08

    How to make the label not displayed, for aesthetic purposes ??

    I added a permission “ Read-Only Except Requests”, I set a label to unreadable,How to make the label not displayed, for aesthetic purposes ??

     

    Last edit: glad.xiong 2022-04-08
  • glad.xiong

    glad.xiong - 2022-04-08

    <itop_design xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" version="1.0">
    <classes>
    <menus>
    <user_rights></user_rights></menus></classes></itop_design>

    <groups>
      <group id="Xiong_password01" _delta="define">
        <classes>
          <class id="Xiong_password01"/>
          <class id="Xiong_password01_database01"/>
          <class id="Xiong_password01_app01"/>
          <class id="Xiong_password01_system01"/>
        </classes>
      </group>
    </groups>
    <profiles>
      <profile id="50" _delta="define">
        <name>Read-Only Except Requests</name>
        <description>Users with this profile are allowed to browse through all objects in the application and to create/modify user requests (either through the portal or in the normal application)</description>
        <groups>
          <group id="Portal">
            <actions>
              <action xsi:type="write">allow</action>
              <action xsi:type="delete">allow</action>
            </actions>
          </group>
          <group id="UserRequest">
            <actions>
              <action id="action:write">allow</action>
              <action id="ev_close" xsi:type="stimulus">allow</action>
              <action id="ev_reopen" xsi:type="stimulus">allow</action>
            </actions>
          </group>
          <group id="*">
            <actions>
              <action xsi:type="read">allow</action>
              <action xsi:type="bulk read">allow</action>
            </actions>
          </group>
          <group id="Xiong_password01">
            <actions>
              <action id="action:read">deny</action>
              <action id="action:bulk read">deny</action>
            </actions>
          </group>
        </groups>
      </profile>
    

     
  • glad.xiong

    glad.xiong - 2022-04-08
        <menu id="Xiong_password01_system01"  xsi:type="DashletBadge"  _delta="define_if_not_exists">
            <rank>3</rank>
            <enable_admin_only>1</enable_admin_only>
        </menu>
    
     
  • Pierre Goiffon

    Pierre Goiffon - 2022-05-05

    Hello,
    Not sure to understand your question ?
    Let me rephrase to verify that I understand right : you are setting a dashboard as a menu entry, and for some user a dashlet cannot be viewed and is throwing an error message. You want to hide this dashlet for those users. Did I get it right ?

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.