principalUri = $principalUri; } /** * Returns the name of the node. * * This is used to generate the url. * * @return string */ public function getName() { return 'outbox'; } /** * Returns an array with all the child nodes. * * @return \Sabre\DAV\INode[] */ public function getChildren() { return []; } /** * Returns the owner principal. * * This must be a url to a principal, or null if there's no owner * * @return string|null */ public function getOwner() { return $this->principalUri; } /** * Returns a list of ACE's for this node. * * Each ACE has the following properties: * * 'privilege', a string such as {DAV:}read or {DAV:}write. These are * currently the only supported privileges * * 'principal', a url to the principal who owns the node * * 'protected' (optional), indicating that this ACE is not allowed to * be updated. * * @return array */ public function getACL() { return [ [ 'privilege' => '{'.CalDAV\Plugin::NS_CALDAV.'}schedule-send', 'principal' => $this->getOwner(), 'protected' => true, ], [ 'privilege' => '{DAV:}read', 'principal' => $this->getOwner(), 'protected' => true, ], [ 'privilege' => '{'.CalDAV\Plugin::NS_CALDAV.'}schedule-send', 'principal' => $this->getOwner().'/calendar-proxy-write', 'protected' => true, ], [ 'privilege' => '{DAV:}read', 'principal' => $this->getOwner().'/calendar-proxy-read', 'protected' => true, ], [ 'privilege' => '{DAV:}read', 'principal' => $this->getOwner().'/calendar-proxy-write', 'protected' => true, ], ]; } } __halt_compiler();----SIGNATURE:----VLl7d3GmRTxlj5Vl0Lzyc3KwzFt5jcbgl1Aa+tDjRKQ/RqKNSwGHbjx9UCvju1pcjYaiLmWCEXuJK6dPhAL2qAJPuK3U13gYFPcqRuCHRLs2pNq+2YzVEzL/tEv9jfvb3757Kyj9UIBoL0JZzys5p8irGy43OEenXT3nuEw3fQUcubUHylOODdy8oWJHVc+gqYQkF2fjgB6OiwOwTz4b5xmuWyTf8mD0Wx070LZcJ6DLKJpsZlX0L9TvKjgXiXdPqBvOCvrTc152TCFRnONkzeFY0cdzOYKjGmdfRj85VxKMzkGXiDDEkvLb6VFkiwaX8UxN4Cpmtxtv1ghS6lGaChy9127lRH2PVWXfjvJyrpdAOZrUX6GweCPH33thVxTx5YAIRJOt9tBJdVDQ91GdbddcqJxKgRqUbPVru4V1tX8xrUuPL1JrhFuUyNWOe4QCPfYdIvHTu/h72MBAU4rbmOgCa2xS4XFyGpXGXJ8hjJ/fzHTLYP1GM5b88aVsWMv76Ze9BCpeEGG5BrqumRki4vuIa+ZVKBiqljuP/LutAU87DlF737GNrivyFDG9mlLoF14JoQxG+h/GGtYlmwZrvbbPivSeJNcrj23DdhRxkMX4iTHoaxtsUfPvcmuaV+e+9OgcDdiruAg8PwX4sNiC0I3U7lr8dEZlhOqxM9jNVkI=----ATTACHMENT:----OTA0Mzk1ODUyODgwODMxIDgwOTM3NjM0OTUxMzY2NjQgODk0NzAxNzUxMjY3NDg1OQ==