private function hasPermission($resource, $action) { return $this->user->hasPermission(null, $resource, $action); }