public function hasAccess(User $user, Application $app)
    {
        if ($this->getCollection($app) instanceof collection) {
            return $app->getAclForUser($user)->has_access_to_base($this->collection->get_base_id());
        }

        return true;
    }