protected function processBeforeAction($actionName) { parent::processBeforeAction($actionName); $this->findFile(); $securityContext = $this->storage->getCurrentUserSecurityContext(); if (!$this->file->canRead($securityContext)) { $this->showAccessDenied(); return false; } return true; }
protected function processBeforeAction($actionName) { parent::processBeforeAction($actionName); $this->findFolder(); return true; }