def isInGroup(self, group): if intersect(group, self.info['groups']): return True return False
def isUserInGroup(self, user, groups): if intersect(groups, self.aclSpace[user]['groups']): return True return False