ILIAS  release_5-4 Revision v5.4.26-12-gabc799a52e6
ACLTrait.php
Go to the documentation of this file.
1<?php
2
3namespace Sabre\DAVACL;
4
17trait ACLTrait {
18
26 function getOwner() {
27
28 return null;
29
30 }
31
39 function getGroup() {
40
41 return null;
42
43 }
44
57 function getACL() {
58
59 return [
60 [
61 'privilege' => '{DAV:}all',
62 'principal' => '{DAV:}owner',
63 'protected' => true,
64 ]
65 ];
66
67 }
68
77 function setACL(array $acl) {
78
79 throw new \Sabre\DAV\Exception\Forbidden('Setting ACL is not supported on this node');
80 }
81
94 function getSupportedPrivilegeSet() {
95
96 return null;
97
98 }
99
100}
An exception for terminatinating execution or to throw for unit testing.