From 9791dd22d4d9084989cafa3498ae313dd4cd13f0 Mon Sep 17 00:00:00 2001 From: Nicola Soranzo Date: Tue, 24 Oct 2017 19:34:40 +0100 Subject: [PATCH] Fix regressions in library API Introduced in commit 93a8bfc7cb5e9c3395c5057910ec39d68ad787b4 --- lib/galaxy/util/path/ntpath.py | 2 +- lib/galaxy/webapps/galaxy/controllers/library_common.py | 2 -- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/lib/galaxy/util/path/ntpath.py b/lib/galaxy/util/path/ntpath.py index 5363409b3af6..3c86944963a3 100644 --- a/lib/galaxy/util/path/ntpath.py +++ b/lib/galaxy/util/path/ntpath.py @@ -2,7 +2,7 @@ """ from __future__ import absolute_import -import ntpath +import ntpath # noqa: I100 See https://github.com/PyCQA/flake8-import-order/pull/115 import sys from . import _build_self diff --git a/lib/galaxy/webapps/galaxy/controllers/library_common.py b/lib/galaxy/webapps/galaxy/controllers/library_common.py index da9e67b693c6..a622f059e365 100644 --- a/lib/galaxy/webapps/galaxy/controllers/library_common.py +++ b/lib/galaxy/webapps/galaxy/controllers/library_common.py @@ -277,7 +277,6 @@ def library_permissions( self, trans, cntrller, **kwd ): status=escape( status ) ) @web.expose - @web.require_admin def create_folder( self, trans, cntrller, parent_id, library_id, **kwd ): message = escape( kwd.get( 'message', '' ) ) status = kwd.get( 'status', 'done' ) @@ -802,7 +801,6 @@ def ldda_permissions( self, trans, cntrller, library_id, folder_id, id, **kwd ): status=escape( status ) ) @web.expose - @web.require_admin def upload_library_dataset( self, trans, cntrller, library_id, folder_id, **kwd ): message = escape( kwd.get( 'message', '' ) ) status = kwd.get( 'status', 'done' )