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)
def check_permission_by_path(self, repo_id, path, user): return seafserv_threaded_rpc.check_permission_by_path( repo_id, path, user)
def check_permission_by_path(self, repo_id, path, user): return seafserv_threaded_rpc.check_permission_by_path(repo_id, path, user)