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

Support listing child groups and users.

This commit is contained in:
cuihaikuo
2018-05-08 17:50:21 +08:00
parent c095959cce
commit d8937ae5ad
6 changed files with 125 additions and 0 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