Configuring Viewpoint > Configuring security in Viewpoint > Configuring the permissions map > Filtering navigation with permissions

2.4.6.2 Filtering navigation with permissions

To filter navigation with permissions

  1. Open the core.xml file located in the Viewpoint home directory.
  2. Locate the <nav-menu> section, the desired <menu> sub-section then the link to filter.
  3. Use the <permission> element inside <link> to require a permission in order to view the link.
  4. <nav-menu>
      <menu label="Reporting…">
        <permission name="reports.read" />
        <link href=href="reporting" target="thisWindow" label="Reports"></link>
      </menu>
    </nav-menu>

    Only users with the report.read permission may access reporting. The permission should be specified in the <link> element if the restriction only applies to one specific link in the category.

Related topics