3 class Sabre_CalDAV_Calendar_Virtual extends Sabre_CalDAV_Calendar {
6 * Returns a list of ACE's for this node.
8 * Each ACE has the following properties:
9 * * 'privilege', a string such as {DAV:}read or {DAV:}write. These are
10 * currently the only supported privileges
11 * * 'principal', a url to the principal who owns the node
12 * * 'protected' (optional), indicating that this ACE is not allowed to
17 public function getACL() {
21 'privilege' => '{DAV:}read',
22 'principal' => $this->calendarInfo['principaluri'],
26 'privilege' => '{DAV:}read',
27 'principal' => $this->calendarInfo['principaluri'] . '/calendar-proxy-write',
31 'privilege' => '{DAV:}read',
32 'principal' => $this->calendarInfo['principaluri'] . '/calendar-proxy-read',
36 'privilege' => '{' . Sabre_CalDAV_Plugin::NS_CALDAV . '}read-free-busy',
37 'principal' => '{DAV:}authenticated',