public function setUserReadAccess($user, $allowed)
    {
        if (!$user->getObjectId())
        {
            throw new \Exception("cannot setReadAccess for a user with null id");
        }
        $this->setReadAccess($user->getObjectId(), $allowed);
    }