def check_group_staff(self, group_id, username): """ Return non-zero value if true, 0 if not true """ return ccnet_threaded_rpc.check_group_staff(group_id, username)
def check_group_staff(self, group_id, username): """ Return non-zero value if true, 0 if not true """ return ccnet_threaded_rpc.check_group_staff(group_id, username)
def check_group_staff(self, group_id, username, in_structure=False): """ Return non-zero value if true, 0 if not true """ return ccnet_threaded_rpc.check_group_staff(group_id, username, 1 if in_structure else 0)