From 63f039b66fef6448f10ea639f2be5fb376cca05e Mon Sep 17 00:00:00 2001 From: Martin Cech Date: Tue, 14 Nov 2017 14:15:22 -0500 Subject: [PATCH] remove the default override since it is wrong and ignores the access permissions --- lib/galaxy/webapps/galaxy/api/history_contents.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/galaxy/webapps/galaxy/api/history_contents.py b/lib/galaxy/webapps/galaxy/api/history_contents.py index 634339df480..504b8b6efeb 100644 --- a/lib/galaxy/webapps/galaxy/api/history_contents.py +++ b/lib/galaxy/webapps/galaxy/api/history_contents.py @@ -245,7 +245,7 @@ class HistoryContentsController( BaseAPIController, UsesLibraryMixin, UsesLibrar # copy from library dataset hda = None if source == 'library': - ld = self.get_library_dataset( trans, content, check_ownership=False, check_accessible=False ) + ld = self.get_library_dataset( trans, content ) # TODO: why would get_library_dataset NOT return a library dataset? if type( ld ) is not trans.app.model.LibraryDataset: raise exceptions.RequestParameterInvalidException(