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

    XMLWordPrintable

    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.

        Attachments

          Activity

            People

            Assignee:
            Unassigned
            Reporter:
            gunnstein.lye@ez.no 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