From 4bc69e53be060e8de1d9938e94b3bb0938016a84 Mon Sep 17 00:00:00 2001 From: rautenberg Date: Fri, 26 Apr 2013 17:49:31 +0200 Subject: remove policy check might not be the right one --- lib/dataset.rb | 1 - 1 file changed, 1 deletion(-) (limited to 'lib/dataset.rb') diff --git a/lib/dataset.rb b/lib/dataset.rb index dd019a1..ec0abdb 100644 --- a/lib/dataset.rb +++ b/lib/dataset.rb @@ -123,7 +123,6 @@ module OpenTox # Adding data (@features and @compounds are also writable) def upload filename, wait=true - Authorization.check_policy(@uri, @subjectid) if $aa[:uri] uri = RestClientWrapper.put(@uri, {:file => File.new(filename)}, {:subjectid => @subjectid}) wait_for_task uri if URI.task?(uri) and wait metadata true -- cgit v1.2.3