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
parent 157926ab00
commit 2e597997e0

View File

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