19declare(strict_types=1);
22use Sabre\DAV\Exception\Forbidden;
23use Sabre\DAV\ICollection;
36 use ilWebDAVReadOnlyNodeWriteFunctionsTrait;
46 $this->user_id = $user->
getId();
60 throw new Forbidden(
'Only for logged in users');
62 return [$this->web_dav_object_factory->getClientNode($this->client_id)];
67 return $this->web_dav_object_factory->getClientNode($name);
77 return strtotime(
'2000-01-01');
This class represents the absolut Root-Node on a WebDAV request.
__construct(protected string $client_id, protected ilWebDAVObjFactory $web_dav_object_factory, protected ilWebDAVRepositoryHelper $repo_helper, ilObjUser $user)