mirror of
https://github.com/haiwen/ccnet-server.git
synced 2025-09-03 13:54:37 +00:00
Add list all departments api.
This commit is contained in:
@@ -299,6 +299,10 @@ class CcnetThreadedRpcClient(RpcClientBase):
|
||||
def get_groups(self, user_name, return_ancestors):
|
||||
pass
|
||||
|
||||
@searpc_func("objlist", [])
|
||||
def list_all_departments(self):
|
||||
pass
|
||||
|
||||
@searpc_func("objlist", ["int", "int", "string"])
|
||||
def get_all_groups(self, start, limit, source):
|
||||
pass
|
||||
|
Reference in New Issue
Block a user