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

Error 500 when user doesn't have Content/reverserelatedlist policy

    XMLWordPrintable

Details

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: High High
    • 2.2.0-beta1
    • 2.1.0
    • None

    Description

      Steps:

      1. Go to Admin/Role and modify Editor's role like this:

      • Policies:
        • User/Login
        • User/Password
        • Content/Read
        • Content/Versionread
      • Assingments
        • Editors with no limitations
          2. Add a user in Editors group
          3. Log in as user from previous step
          4. Go to Content/Content Structure
      Actual result:

      Error 500 is thrown:

      An exception has been thrown during the rendering of a template ("User does not have access to 'reverserelatedlist' 'content' with: contentId '1''").

      Expected result:

      If user doesn't have policy Content/reverserelatedlist, Relations tab on CI should be hidden.

      Attachments

        Activity

          People

            Unassigned Unassigned
            barbara.grajczyk@ez.no Barbara Grajczyk
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: