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

The user does not have access to embedded content with correct permissions (3.0 version)

    XMLWordPrintable

Details

    Description

      This is a indirect continuation from https://jira.ez.no/browse/EZP-31358

      Description

      User get the error when had correct permission to view embed content

       

      Steps to reproduce
      1. Create two new sections (section1, section2)
      2. Create a new role with the above limitations

      Module Function Limitations
      User Login None
      Content Read Section: section1
      Content View_embed Section: section2

      3. Create a new user and assigned to a new role from $2 
      4. Create new article and change section to "section1"
      5. Create new article and change section to "section2"
      6. Embed article from $5 to article from $4
      7. Log in and check the article from $4

      Current
      Platform throw an exception "An exception has been thrown during the rendering of a template ("The User does not have the 'read' 'content' permission with: locationId '59'")."

      Expected
      User can saw the article with embed second article

       

       

      Attachments

        1. stacktrace1.txt
          327 kB
          Tomasz Szopiński
        2. stacktrace2.txt
          319 kB
          Tomasz Szopiński

        Activity

          People

            Unassigned Unassigned
            tomasz.szopinski@ibexa.co Tomasz Szopiński
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: