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

Fix problem with access to read content with locationId = ‘1’

    XMLWordPrintable

    Details

    • Type: Story
    • Status: Closed
    • Priority: High
    • Resolution: Fixed
    • Affects Version/s: 2.5.2
    • Fix Version/s: 3.0.0-beta2, 2.5.4
    • Component/s: Permissions
    • Labels:
    • Sprint:
      [3.0] - Sprint 11

      Description

      Fix problem with access to read content with locationId = ‘1’

      Prereq.: Create an user assigned to the Administrator role with section limitation for Media and for Users.

      Flow 1:

      1. Go to Admin / Users.

      Actual result: Error 500 An exception has been thrown during the rendering of a template ("User does not have access to 'read' 'content' with: locationId '1'")..

      Flow 2:

      1. Go to Content / Search. Or Trash. Or Drafts (from user menu). Or Bookmarks.

      Actual result: Error is displayed in UI item is undefined.

      Flow 3:

      1. Go to Admin / Sections.
      2. Create new section.
      3. Fill name and identifier.
      4. Click Create.

      Actual result: Error 403 User does not have access to 'view' 'section'.
      Expected result: If user is allowed to see only the sections he's assigned to perhaps creating should be disabled.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              Unassigned
              Reporter:
              michal.szoltysek@ez.no Michał Szołtysek
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: