mirror of
https://github.com/haiwen/seafile-server.git
synced 2025-08-31 23:19:36 +00:00
Repo can be set 'read-only' or 'normal' status.
Return 'status' in get_repo(s) apis.
This commit is contained in:
@@ -1046,3 +1046,12 @@ class SeafServerThreadedRpcClient(ccnet.RpcClientBase):
|
||||
@searpc_func("string", ["string", "string", "string", "int"])
|
||||
def convert_repo_path(repo_id, path, user, is_org):
|
||||
pass
|
||||
|
||||
# repo status
|
||||
@searpc_func("int", ["string", "int"])
|
||||
def set_repo_status(repo_id, status):
|
||||
pass
|
||||
|
||||
@searpc_func("int", ["string"])
|
||||
def get_repo_status(repo_id):
|
||||
pass
|
||||
|
Reference in New Issue
Block a user