I agree with the previous comments that this is not a bug. However, it should be considered to process the files being moved to the Trash to see if the user has permissions to delete them, and throw an error if the permissions do not allow it. But that could get complicated.
I agree with the previous comments that this is not a bug. However, it should be considered to process the files being moved to the Trash to see if the user has permissions to delete them, and throw an error if the permissions do not allow it. But that could get complicated.