1
0
mirror of https://github.com/haiwen/ccnet-server.git synced 2025-09-01 21:07:18 +00:00

Merge pull request #22 from haiwen/list_child_groups_users

Support listing child groups and members.
This commit is contained in:
Jiaqiang Xu
2018-05-09 10:13:51 +08:00
committed by GitHub
6 changed files with 139 additions and 1 deletions

View File

@@ -315,6 +315,10 @@ class CcnetThreadedRpcClient(RpcClientBase):
def get_child_groups(self, group_id):
pass
@searpc_func("objlist", ["int"])
def get_descendants_groups(self, group_id):
pass
@searpc_func("object", ["int"])
def get_group(self, group_id):
pass
@@ -323,6 +327,10 @@ class CcnetThreadedRpcClient(RpcClientBase):
def get_group_members(self, group_id):
pass
@searpc_func("objlist", ["int", "string"])
def get_members_with_prefix(self, group_id, prefix):
pass
@searpc_func("int", ["int", "string"])
def check_group_staff(self, group_id, username):
pass