protected function fetchRightsForUser($userOxId)
    {
        $database = \OxidEsales\Eshop\Core\DatabaseProvider::getDb();

        return $database->getOne("select oxrights from oxuser where oxid = " . $database->quote($userOxId));
    }