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:
@@ -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"])
|
||||
|
Reference in New Issue
Block a user