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

Cannot remove objects from trash with editor permissions

    XMLWordPrintable

Details

    • Icon: Bug Bug
    • Resolution: Obsolete
    • Icon: Medium Medium
    • 3.8.7, 3.9.0
    • 3.8.6
    • None
    • Operating System: Linux RHEL 4
      PHP Version: 4.4.4
      Database and version: MySQL 4.1
      Web server: Apache 2.0

    Description

      If an editor user has assigned roles with default limitations: "Subtree (/1/2/)" and "Subtree (/1/43/)", he cannot remove objects from trash.

      (If you want editor users remove objects from trash, at the moment you are forced to remove the limitations in the Editor role and assign a new role without any limitation to the Editors group).

      Steps to reproduce

      1) Fresh installation of eZPublish 3.8.6
      2) Create a user "test" in the Editor group
      3) Login as user "test"
      3) Create a new object (for example, a new folder "xyz") in the content structure
      4) Remove the folder "xyz". In "Confirm location removal" window, check the checkbox "Move to trash" and click the "OK" button.
      So the system move the folder "xyz" to the trash.
      5) Now, if you try to remove the folder "xyz" from trash (or if you try to empty trash), the following error occurs:

       
      The requested page could not be displayed.
      The system is unable to display the requested page because of security issues.
      Possible reasons:
          * Your account does not have the proper privileges to access the requested page.
          * The requested page does not exist. Try changing the URL.
      

      In step 4, if you don't check the checkbox "Move to trash" and click the "OK" button, the object is deleted as expected.

      Attachments

        Activity

          People

            unknown unknown
            carmiano carmiano
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated: