def group_perm(self, code, perm, owner):
        n = len_exc(perm.exceptions, owner)
        if perm.policy == u'closed':
            return code if n > 0 else u'-'
        else:
            return u'-' if n > 0 else code
dataset/ETHPy150Open njr0/fish/fish/ls.py/ExtendedFluidinfo.group_perm/original