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

Versionview not possible with editor user if parent folder is missing

    Details

    • Type: Improvement Improvement
    • Status: Confirmed
    • Priority: High High
    • Resolution: Unresolved
    • Affects Version/s: 5.2-dev
    • Fix Version/s: QA tracked issues
    • Component/s: Permissions
    • Labels:
      None
    • Environment:

      PHP 5.3.3
      RHEL 6.4
      Mysql 5.1.61

      Description

      Using editor user its not possible to view a draft version from an object that does not have a parent node

      Steps:
      1. Add a new section
      2. Create a new role to read, create and versionread the content of the new section
      3. Create two editors, assign the new role to one of them
      4. Create a folder and assign it to the new section
      5. Using the editor, assigned with new role, create an article under the folder, but don't publish it, use "store draft and exit"
      6. Using the other editor, login and view the draft using content/versionview/<article object id>/1/language
      7. Remove the folder using admin user
      8. Using the "normal" editor, login and view the draft using content/versionview/<article object id>/1/language

        Issue Links

          Activity

          Joao Pingo (Inactive) created issue -
          Joao Pingo (Inactive) made changes -
          Field Original Value New Value
          Description Using editor user its not possible to view a draft version from an object that does not have a parent node Using editor user its not possible to view a draft version from an object that does not have a parent node

          Steps:
          1. Add a new section
          2. Create a new role to read, create and versionread the content of the new section
          3. Create two editors, assign the new role to one of them
          4. Create a folder and assign it to the new section
          5. Using the editor, assigned with new role, create an article under the folder, but don't publish it, use "store draft and exit"
          6. Using the other editor, login and view the draft using content/versionview/<article object id>/1/language
          7. Remove the folder using admin user
          8. Using the "normal" editor, login and view the draft using content/versionview/<article object id>/1/language
          Joao Pingo (Inactive) made changes -
          Link This issue discovered while testing EZP-20949 [ EZP-20949 ]
          Joao Pingo (Inactive) made changes -
          Status Open [ 1 ] Confirmed [ 10037 ]
          André Rømcke made changes -
          Workflow eZ Engineering Scrumban Workflow [ 57161 ] EZ* Development Workflow [ 69949 ]
          Alex Schuster made changes -
          Workflow EZ* Development Workflow [ 69949 ] EZEE Development Workflow [ 108340 ]

            People

            • Assignee:
              Unassigned
              Reporter:
              Joao Pingo (Inactive)
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated: