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

Add parameter 'in_structure' to control whether checking ancestor groups or not in check_group_staff()

This commit is contained in:
cuihaikuo
2018-06-11 14:45:01 +08:00
parent 277dfc098e
commit 047c2e0d37
5 changed files with 23 additions and 13 deletions

View File

@@ -331,8 +331,8 @@ class CcnetThreadedRpcClient(RpcClientBase):
def get_members_with_prefix(self, group_id, prefix):
pass
@searpc_func("int", ["int", "string"])
def check_group_staff(self, group_id, username):
@searpc_func("int", ["int", "string", "int"])
def check_group_staff(self, group_id, username, in_structure):
pass
@searpc_func("int", ["string"])