core icon indicating copy to clipboard operation
core copied to clipboard

Trashbin app doesn't work with shared files

Open MTGap opened this issue 13 years ago • 1 comments

Should be the same problem and solution as the files_versions issue #1675

@karlitschek @icewind1991

MTGap avatar Feb 14 '13 01:02 MTGap

For now we don't prevent/restore share relations.

If a user deletes a shared file he can only restore it for himself.

Exception: If the file was in a shared folder where the user has 'create' permissions. In this case the file will be restored in the same folder again, so that the owner and all recipients of the directories above will have access to the file again.

For OC6 we can think about if it is a good idea to also prevent share relations. I'm not sure at the moment, because between delete and restore also other thinks can happen (e.g. a user could get deleted which originally had access to the shared file)

schiessle avatar Feb 28 '13 13:02 schiessle