Fix wrong permission constant used, resulting in permissions when there shouldn't be

This commit is contained in:
nathan 2021-07-07 14:42:10 -06:00 committed by Ralf Becker
parent 8a411e7f46
commit ac41289ecd

View File

@ -1852,7 +1852,7 @@ GROUP BY A.fs_id';
{ {
return false; return false;
} }
if (!$this->check_access($path,Api\Acl::EDIT, $stat)) if (!$this->check_access($path,Vfs::WRITABLE, $stat))
{ {
return false; // permission denied return false; // permission denied
} }