26 return isset($this->calendarInfo[
'share-access']) ? $this->calendarInfo[
'share-access'] : SPlugin::ACCESS_NOTSHARED;
43 return $this->calendarInfo[
'share-resource-uri'];
57 $this->caldavBackend->updateInvites($this->calendarInfo[
'id'], $sharees);
79 return $this->caldavBackend->getInvites($this->calendarInfo[
'id']);
94 $this->caldavBackend->setPublishStatus($this->calendarInfo[
'id'], $value);
115 case SPlugin::ACCESS_NOTSHARED :
116 case SPlugin::ACCESS_SHAREDOWNER :
118 'privilege' =>
'{DAV:}share',
119 'principal' => $this->calendarInfo[
'principaluri'],
123 'privilege' =>
'{DAV:}share',
124 'principal' => $this->calendarInfo[
'principaluri'] .
'/calendar-proxy-write',
128 case SPlugin::ACCESS_READWRITE :
130 'privilege' =>
'{DAV:}write',
131 'principal' => $this->calendarInfo[
'principaluri'],
135 'privilege' =>
'{DAV:}write',
136 'principal' => $this->calendarInfo[
'principaluri'] .
'/calendar-proxy-write',
140 case SPlugin::ACCESS_READ :
142 'privilege' =>
'{DAV:}write-properties',
143 'principal' => $this->calendarInfo[
'principaluri'],
147 'privilege' =>
'{DAV:}write-properties',
148 'principal' => $this->calendarInfo[
'principaluri'] .
'/calendar-proxy-write',
152 'privilege' =>
'{DAV:}read',
153 'principal' => $this->calendarInfo[
'principaluri'],
157 'privilege' =>
'{DAV:}read',
158 'principal' => $this->calendarInfo[
'principaluri'] .
'/calendar-proxy-read',
162 'privilege' =>
'{DAV:}read',
163 'principal' => $this->calendarInfo[
'principaluri'] .
'/calendar-proxy-write',
168 'principal' =>
'{DAV:}authenticated',
190 case SPlugin::ACCESS_NOTSHARED :
192 case SPlugin::ACCESS_SHAREDOWNER :
194 case SPlugin::ACCESS_READWRITE:
196 'privilege' =>
'{DAV:}write',
197 'principal' => $this->calendarInfo[
'principaluri'],
201 'privilege' =>
'{DAV:}write',
202 'principal' => $this->calendarInfo[
'principaluri'] .
'/calendar-proxy-write',
206 case SPlugin::ACCESS_READ:
208 'privilege' =>
'{DAV:}read',
209 'principal' => $this->calendarInfo[
'principaluri'],
213 'privilege' =>
'{DAV:}read',
214 'principal' => $this->calendarInfo[
'principaluri'] .
'/calendar-proxy-write',
218 'privilege' =>
'{DAV:}read',
219 'principal' => $this->calendarInfo[
'principaluri'] .
'/calendar-proxy-read',
getACL()
Returns a list of ACE's for this node.
This object represents a CalDAV calendar that is shared by a different user.
This interface represents a Calendar that is shared by a different user.
getChildACL()
This method returns the ACL's for calendar objects in this calendar.
getShareAccess()
Returns the 'access level' for the instance of this shared resource.
setPublishStatus($value)
Marks this calendar as published.
getShareResourceUri()
This function must return a URI that uniquely identifies the shared resource.
updateInvites(array $sharees)
Updates the list of sharees.
getInvites()
Returns the list of people whom this resource is shared with.
This object represents a CalDAV calendar.
const NS_CALDAV
This is the official CalDAV namespace.