Uploaded image for project: 'Magnolia UI'
  1. Magnolia UI
  2. MGNLUI-1387

Security and Config apps available for non-superuser

XMLWordPrintable

      Normal (non-superuser) user sees the Security and Config app icons and can start them:

      Config App

      The user does not see anything, but can click 'Add Folder' action. This leads to an 'Access denied' error and is not nice.

      Security App

      When the user tries to start this app, the UI goes broken/frozen (even clicking the Apps/Pulse/Favorites icons does not help) and the only help is to use the restartApplication URL parameter.
      Also it writes some errors to the log:

      2013-05-17 13:40:32,305 WARN  agnolia.ui.workbench.tree.HierarchicalJcrContainer: Cannot retrieve root item id's: javax.jcr.PathNotFoundException: /admin
      2013-05-17 13:40:32,305 WARN  agnolia.ui.workbench.tree.HierarchicalJcrContainer: Cannot determine depth of jcr item: javax.jcr.PathNotFoundException: /admin
      2013-05-17 13:40:32,306 WARN  info.magnolia.event.SimpleEventBus                : Exception caught when dispatching event: null
      java.lang.NullPointerException
      	at info.magnolia.ui.vaadin.integration.jcr.JcrItemUtil.getItemId(JcrItemUtil.java:114)
              ...
      

        Acceptance criteria

              jchocholacek Jozef Chocholacek
              jchocholacek Jozef Chocholacek
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved:

                  Bug DoR
                  Task DoD