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

Moving to trash shouldn't give error if you can't read items in trash

    Details

      Description

      Given a user who does not have access to read content in trash,
      when they move content to trash,
      the move is executed correctly, but they see an error message in the UI: An error occurred when sending 'Example content name' to Trash
      The error message should not be shown.

      I have tracked this to where TrashService emits the TrashSignal:
      https://github.com/ezsystems/ezpublish-kernel/blob/master/eZ/Publish/Core/SignalSlot/TrashService.php#L85

      The request which returns HTTP 401 is to /api/ezp/v2/content/locations/1/2/221, for node 221 in the Home folder.

        Activity

        Transition Time In Source Status Execution Times Last Executer Last Execution Date
        Open Open Confirmed Confirmed
        1h 13m 1 Gunnstein Lye 09/Oct/17 4:53 PM
        Confirmed Confirmed InputQ InputQ
        13d 23h 3m 1 Gunnstein Lye 23/Oct/17 3:57 PM
        QA QA InputQ InputQ
        10d 20h 30m 1 Gunnstein Lye 04/Dec/17 11:54 AM
        InputQ InputQ Development Development
        10s 2 Gunnstein Lye 04/Dec/17 11:54 AM
        Development Development Development Review Development Review
        17d 5h 35m 2 Gunnstein Lye 04/Dec/17 4:52 PM
        Development Review Development Review Documentation Review done Documentation Review done
        7d 1h 26m 2 Gunnstein Lye 04/Dec/17 4:52 PM
        Documentation Review done Documentation Review done QA QA
        15d 19h 24m 2 Marek Nocoń 13/Dec/17 1:55 PM
        QA QA QA Done QA Done
        20d 21h 36m 1 Marek Nocoń 03/Jan/18 11:31 AM
        QA Done QA Done Closed Closed
        18s 1 Marek Nocoń 03/Jan/18 11:32 AM

          People

          • Assignee:
            Unassigned
            Reporter:
            Gunnstein Lye
          • Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Time Tracking

              Estimated:
              Original Estimate - Not Specified
              Not Specified
              Remaining:
              Remaining Estimate - 0 minutes
              0m
              Logged:
              Time Spent - 1 week, 2 days, 2 hours, 30 minutes
              1w 2d 2h 30m