57 return 'calendar-proxy-read';
80 throw new DAV\Exception\Forbidden(
'Permission denied to delete node');
93 throw new DAV\Exception\Forbidden(
'Permission denied to rename file');
118 return $this->principalInfo[
'uri'] .
'/' . $this->
getName();
132 return $this->principalBackend->getGroupMemberSet($this->
getPrincipalUrl());
146 return $this->principalBackend->getGroupMembership($this->
getPrincipalUrl());
163 $this->principalBackend->setGroupMemberSet($this->
getPrincipalUrl(), $principals);
getAlternateUriSet()
Returns a list of alternative urls for a principal.
setName($name)
Renames the node.
setGroupMemberSet(array $principals)
Sets a list of group members.
getGroupMembership()
Returns the list of groups this principal is member of.
getPrincipalUrl()
Returns the full principal url.
getDisplayName()
Returns the displayname.
__construct(DAVACL\PrincipalBackend\BackendInterface $principalBackend, array $principalInfo)
Creates the object.
getName()
Returns this principals name.
ProxyRead principal interface.
getGroupMemberSet()
Returns the list of group members.
getLastModified()
Returns the last modification time.
Implement this interface to create your own principal backends.