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

Merge branch '6.2'

This commit is contained in:
cuihaikuo
2018-05-18 10:47:55 +08:00
8 changed files with 126 additions and 1 deletions

View File

@@ -740,6 +740,12 @@ class SeafileAPI(object):
def repo_has_been_shared(self, repo_id, including_groups=False):
return True if seafserv_threaded_rpc.repo_has_been_shared(repo_id, 1 if including_groups else 0) else False
def get_shared_users_by_repo(self, repo_id):
return seafserv_threaded_rpc.get_shared_users_by_repo (repo_id)
def org_get_shared_users_by_repo(self, org_id, repo_id):
return seafserv_threaded_rpc.org_get_shared_users_by_repo(org_id, repo_id)
seafile_api = SeafileAPI()
class CcnetAPI(object):