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

        Gunnstein Lye logged work - 18/Oct/17 3:30 PM
        • Time Spent:
          2 hours
           

          .

        Gunnstein Lye logged work - 19/Oct/17 12:30 PM
        • Time Spent:
          4 hours
           

          .

        Gunnstein Lye logged work - 20/Oct/17 2:30 PM
        • Time Spent:
          1 hour, 30 minutes
           

          .

        Gunnstein Lye logged work - 23/Oct/17 11:00 AM
        • Time Spent:
          3 hours
           

          .

        Gunnstein Lye logged work - 24/Oct/17 12:30 PM
        • Time Spent:
          6 hours, 30 minutes
           

          .

        Gunnstein Lye logged work - 25/Oct/17 1:00 PM
        • Time Spent:
          6 hours
           

          .

        Gunnstein Lye logged work - 26/Oct/17 11:00 AM
        • Time Spent:
          6 hours
           

          .

        Gunnstein Lye logged work - 27/Oct/17 11:00 AM
        • Time Spent:
          3 hours
           

          .

        Gunnstein Lye logged work - 01/Nov/17 10:00 AM
        • Time Spent:
          1 hour
           

          .

        Gunnstein Lye logged work - 02/Nov/17 10:30 AM
        • Time Spent:
          4 hours
           

          .

        Gunnstein Lye logged work - 02/Nov/17 5:00 PM
        • Time Spent:
          1 hour
           

          .

        Gunnstein Lye logged work - 03/Nov/17 10:30 AM
        • Time Spent:
          4 hours, 30 minutes
           

          .

        Gunnstein Lye logged work - 06/Nov/17 2:30 PM
        • Time Spent:
          30 minutes
           

          .

        Gunnstein Lye logged work - 07/Nov/17 10:00 AM
        • Time Spent:
          1 hour
           

          .

        Gunnstein Lye logged work - 08/Nov/17 11:00 AM
        • Time Spent:
          1 hour, 30 minutes
           

          .

        Gunnstein Lye logged work - 09/Nov/17 12:00 PM
        • Time Spent:
          4 hours
           

          .

        Gunnstein Lye logged work - 16/Nov/17 2:00 PM
        • Time Spent:
          3 hours
           

          .

        Gunnstein Lye logged work - 04/Dec/17 12:00 PM
        • Time Spent:
          6 hours
           

          .

          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