57 return 'calendar-proxy-write';
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.
getName()
Returns this principals name.
__construct(DAVACL\PrincipalBackend\BackendInterface $principalBackend, array $principalInfo)
Creates the object.
getGroupMemberSet()
Returns the list of group members.
getGroupMembership()
Returns the list of groups this principal is member of.
getPrincipalUrl()
Returns the full principal url.
getLastModified()
Returns the last modification time.
setGroupMemberSet(array $principals)
Sets a list of group members.
ProxyWrite principal interface.
setName($name)
Renames the node.
getDisplayName()
Returns the displayname.
Implement this interface to create your own principal backends.