@@ -47,6 +47,9 @@ |
||
| 47 | 47 | $this->allowUnauthenticatedAccess = false; |
| 48 | 48 | } |
| 49 | 49 | |
| 50 | + /** |
|
| 51 | + * @param string $privileges |
|
| 52 | + */ |
|
| 50 | 53 | function checkPrivileges($uri, $privileges, $recursion = self::R_PARENT, $throwExceptions = true) { |
| 51 | 54 | $access = parent::checkPrivileges($uri, $privileges, $recursion, false); |
| 52 | 55 | if($access === false && $throwExceptions) { |
@@ -25,14 +25,11 @@ |
||
| 25 | 25 | |
| 26 | 26 | use Sabre\CalDAV\Principal\User; |
| 27 | 27 | use Sabre\DAV\Exception\NotFound; |
| 28 | -use Sabre\DAV\IFile; |
|
| 29 | 28 | use Sabre\DAV\INode; |
| 30 | 29 | use \Sabre\DAV\PropFind; |
| 31 | 30 | use \Sabre\DAV\PropPatch; |
| 32 | -use Sabre\DAVACL\Exception\NeedPrivileges; |
|
| 33 | 31 | use \Sabre\HTTP\RequestInterface; |
| 34 | 32 | use \Sabre\HTTP\ResponseInterface; |
| 35 | -use Sabre\HTTP\URLUtil; |
|
| 36 | 33 | |
| 37 | 34 | /** |
| 38 | 35 | * Class DavAclPlugin is a wrapper around \Sabre\DAVACL\Plugin that returns 404 |