def deleteEntitlementClassOwner(self, authToken, role, entClass):
        if not self.authCheck(authToken, admin = True):
            raise errors.InsufficientPermission
        self.log(2, "role=%s entClass=%s" % (role, entClass))
        cu = self.db.cursor()
        entClassId, roleId = self._getIds(cu, entClass, role)
        cu.execute("DELETE FROM EntitlementOwners WHERE "
                   "entGroupId=? AND ownerGroupId=?",
                   entClassId, roleId)
        self.db.commit()
dataset/ETHPy150Open sassoftware/conary/conary/repository/netrepos/netauth.py/NetworkAuthorization.deleteEntitlementClassOwner/original