principalInfo = $principalInfo; $view = \OC\Files\Filesystem::getView(); parent::__construct($view, $userFolder); } public function delete() { throw new Forbidden('Permission denied to delete home folder'); } public function getName() { [,$name] = \Sabre\Uri\split($this->principalInfo['uri']); return $name; } public function setName($name) { throw new Forbidden('Permission denied to rename this folder'); } }