예제 #1
0
 def check_permission_by_path(self, repo_id, path, user):
     """
     Check both repo share permission and sub-folder access permissions.
     This function should be used when updating file/folder in a repo.
     In CE, this function is equivalent to check_permission.
     Return: 'r', 'rw', or None
     """
     return seafserv_threaded_rpc.check_permission_by_path(repo_id, path, user)
예제 #2
0
파일: api.py 프로젝트: airbai/seafile
 def check_permission_by_path(self, repo_id, path, user):
     """
     Check both repo share permission and sub-folder access permissions.
     This function should be used when updating file/folder in a repo.
     In CE, this function is equivalent to check_permission.
     Return: 'r', 'rw', or None
     """
     return seafserv_threaded_rpc.check_permission_by_path(repo_id, path, user)
예제 #3
0
 def check_permission_by_path(self, repo_id, path, user):
     return seafserv_threaded_rpc.check_permission_by_path(
         repo_id, path, user)
예제 #4
0
파일: api.py 프로젝트: miurahr/seafile
 def check_permission_by_path(self, repo_id, path, user):
     return seafserv_threaded_rpc.check_permission_by_path(repo_id, path, user)