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

Error 500 for editor with section/view policy

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: High High
    • Resolution: Done
    • Affects Version/s: 2.2.1, 1.7.8, 1.13.4
    • Fix Version/s: 2.3.0-beta1, 1.7.9, 1.13.5
    • Component/s: None
    • Labels:

      Description

      Steps:

      1. Configure Editor's role like listed below:

      • Policies:
        • user/login
        • content/read
        • content/versionread
        • section/view
        • content/reverserelatedlist
      • Assignments:
        • Editors: Subtree of Location: /eZ Platform
        • Editors: Subtree of Location: /Media

      2. Add new editor user
      3. Log in as an editor
      4. Go to Content/Content structure

      Actual result:

      There is an error 500: An exception has been thrown during the rendering of a template ("User does not have access to 'view' 'section'").

      Expected result:

      User is redirected to Content/Content structure view

        Issue Links

          Activity

          Hide
          André Rømcke added a comment -
          Show
          André Rømcke added a comment - PR ready for testing: https://github.com/ezsystems/ezpublish-kernel/pull/2413
          Show
          André Rømcke added a comment - Merged: https://github.com/ezsystems/ezpublish-kernel/commit/8ad7759195e76a20e7757397ce2931b4d3caeb2d

            People

            • Assignee:
              Unassigned
              Reporter:
              Barbara Grajczyk
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: