linagora/Twake

[Node Drive] moving an item to trash doesn't respect parent access info

rezk2ll opened this issue · 0 comments

problem:

  • if we remove an item from a secret folder, the item will be publicly available in the trash.

suggested solution:

  • when moving the item to the trash we should compute the access info of its parents ( up to the root folder ) and compute the least permissive one.