Repair the canAddToDir logic
authorKevin Ottens <kevin.ottens@nextcloud.com>
Wed, 7 Oct 2020 15:47:48 +0000 (17:47 +0200)
committerKevin Ottens <kevin.ottens@nextcloud.com>
Thu, 22 Oct 2020 14:40:44 +0000 (16:40 +0200)
commit26d62a9712b8fa147813e57c2b490ccbc695bff8
treef6835064250c50e26675b28733b8d2cf77375f18
parent00e901f5a712e778c987b71a09b5816450bce8d6
Repair the canAddToDir logic

This could only work at the root of the sync folder where the record for
the parent folder would be invalid. Otherwise the negation would be
wrong... assuming you can add a file only if the permission is not
there.

Signed-off-by: Kevin Ottens <kevin.ottens@nextcloud.com>
src/gui/socketapi.cpp