

def can_perform(self, op_name):
    allowed_ops = privilege_table.get(self.kind.lower(), None)
    if (not allowed_ops):
        return False
    if ('*' in allowed_ops):
        return True
    return (op_name.lower() in self)

dataset/ETHPy150Open fp7-ofelia/ocf/ofam/src/src/ext/sfa/trust/rights.py Right.can_perform/VarMisuse@62/82 `allowed_ops`->`self`