'w' right doesn't allow APPEND operations

This commit is contained in:
Thomas Bruederli 2015-03-11 12:38:47 +01:00
parent 2ad5eeb570
commit b68f5f5cda

View file

@ -89,7 +89,7 @@ class kolab_calendar extends kolab_storage_folder_api
else {
$rights = $this->storage->get_myrights();
if ($rights && !PEAR::isError($rights)) {
if (strpos($rights, 'i') !== false || strpos($rights, 'w') !== false)
if (strpos($rights, 'i') !== false)
$this->insert = true;
if (strpos($rights, 't') !== false || strpos($rights, 'd') !== false)
$this->writeable = $this->insert;