mirror of
https://github.com/haiwen/ccnet-server.git
synced 2025-09-02 05:14:37 +00:00
Support listing child groups and users.
This commit is contained in:
@@ -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
|
||||
|
Reference in New Issue
Block a user