mirror of
https://gitlab.com/davical-project/davical.git
synced 2026-08-29 18:26:05 +00:00
Implementation of inherited-acl-set property.
This commit is contained in:
parent
e65cb79f24
commit
e0e5887762
@ -1017,6 +1017,14 @@ EOQRY;
|
||||
$reply->NSElement($prop, $tag, array( new XMLElement('grant-only'), new XMLElement('no-invert') ) );
|
||||
break;
|
||||
|
||||
case 'DAV::inherited-acl-set':
|
||||
$inherited_acls = array();
|
||||
if ( ! $this->_is_collection ) {
|
||||
$inherited_acls[] = $reply->href(ConstructURL($this->collection->dav_name));
|
||||
}
|
||||
$reply->NSElement($prop, $tag, $inherited_acls );
|
||||
break;
|
||||
|
||||
case 'DAV::owner':
|
||||
// After a careful reading of RFC3744 we see that this must be the principal-URL of the owner
|
||||
$reply->DAVElement( $prop, 'owner', $reply->href( $this->principal_url() ) );
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user