1
0
mirror of https://github.com/haiwen/seafile-server.git synced 2025-09-01 07:26:37 +00:00

Merge branch '7.0'

This commit is contained in:
Jonathan Xu
2019-07-25 17:55:37 +08:00
16 changed files with 663 additions and 131 deletions

View File

@@ -373,7 +373,7 @@ check_permission (HttpServer *htp_server, const char *repo_id, const char *usern
if (strcmp(op, "upload") == 0) {
int status = seaf_repo_manager_get_repo_status(seaf->repo_mgr, repo_id);
if (status != REPO_STATUS_NORMAL)
if (status != REPO_STATUS_NORMAL && status != -1)
return EVHTP_RES_FORBIDDEN;
}