mirror of
https://gitlab.com/davical-project/davical.git
synced 2026-07-25 12:39:24 +00:00
Reinstate ability to add calendars/collections if you have 'write' privilege,
although this seems to be not strictly correct.
This commit is contained in:
parent
cad895bdcf
commit
7f9653c783
@ -377,7 +377,8 @@ class CalDAVRequest
|
||||
break;
|
||||
case 'mkcalendar':
|
||||
case 'mkcol':
|
||||
return isset($this->permissions['bind']);
|
||||
/** FIXME: Really this should only be 'bind' alone, I think. */
|
||||
return isset($this->permissions['write']) || isset($this->permissions['bind']);
|
||||
break;
|
||||
default:
|
||||
return isset($this->permissions[$activity]);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user