'w' right doesn't allow APPEND operations
This commit is contained in:
parent
2ad5eeb570
commit
b68f5f5cda
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Reference in a new issue