Exemplo n.º 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)
Exemplo n.º 2
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)
Exemplo n.º 3
0
 def check_permission_by_path(self, repo_id, path, user):
     return seafserv_threaded_rpc.check_permission_by_path(
         repo_id, path, user)
Exemplo n.º 4
0
 def check_permission_by_path(self, repo_id, path, user):
     return seafserv_threaded_rpc.check_permission_by_path(repo_id, path, user)