Uploaded image for project: 'OpenNMS'
  1. OpenNMS
  2. NMS-8127

Node rescans possible in WebUI with ROLE_USER

    XMLWordPrintable

    Details

      Description

      On the node page (element/node.jsp), the link for starting a "Rescan" is only visible for admin users (ROLE_ADMIN). If I login as a normal user (ROLE_USER only), the link is hidden, but it is possible to start a rescan by manually open the page element/rescan.jsp?node=<ID>.

      This can be solved by adding the following line to applicationContext-spring-security.xml

      <intercept-url pattern="/element/rescan.jsp" access="ROLE_ADMIN" />
      

        Attachments

          Activity

            People

            • Assignee:
              ranger Benjamin Reed
              Reporter:
              michael_nt Michael Batz
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: