Uploaded image for project: 'eZ Publish / Platform'
  1. eZ Publish / Platform
  2. EZP-29832

Unable to use AdminUI without admin rights

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Blocker
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.4.0-beta1
    • Component/s: None
    • Labels:
      None

      Description

      Affects: latest master (v2.4.x-dev).

      It's not possible to use the AdminUI as a user without admin rights.

      Steps to reproduce:
      1. Create a new user in "Editors"
      2. Login as that user

      Expected:
      I'm viewing the Dashboard

      Actual:
      Error:

      Internal server error: Type error: Argument 1 passed to Knp\Menu\Util\MenuManipulator::moveToLastPosition() must implement interface Knp\Menu\ItemInterface, null given, called in /home/vagrant/ee_demo/vendor/ezsystems/ezplatform-admin-ui/src/lib/Menu/Admin/ReorderMenuListener.php on line 25 [in vendor/knplabs/knp-menu/src/Knp/Menu/Util/MenuManipulator.php:56]
      

      which is most likely caused by trying to reorder "Admin" menu tab which is not visible for non-Admin users.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              Unassigned
              Reporter:
              marek.nocon@ez.no Marek NocoĊ„
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: