How can I hide the Create New Resource option from the menu?

You can hide this option by changing a configuration setting.

Description

In IXIA CCMS Web, you can hide the New Object > New Resource option from the Main menu () for some or all of the users. Access the accessrights.xml file in TEXTML administration to update your configuration.

Solution

  1. In system/conf/accessrights.xml, add the CreateResource method to the accessrights.xml as follows:
    <method name="CreateResource" type="front-end">
            <!-- determines if a notification email should be sent when this action is taken -->
          <notify enabled="false"/>
          <!-- To be enabled or runnable the condition set must return true -->
          <!-- possible operator are any (One of the condition must match)-->
          <conditionset operator="any">
             <condition>
                    <!-- Action user must be in this list -->
                <users>
                   <roles>
                      <!--<role name="Writer"/>
                      <role name="Information Architect"/>-->
                   </roles>
                   <groups>
                      <group name="System Administrators"/>
                   </groups>
                </users>
             </condition>
          </conditionset>
       </method>
  2. In the <roles> and <groups> tags, define which roles and which groups will be able to see the option. For example, in this code sample, only System Administrators have access to this option because you commented out the two roles for Writer and Information Architect.