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/opentox.rb | 1 - 1 file changed, 1 deletion(-) (limited to 'lib/opentox.rb') diff --git a/lib/opentox.rb b/lib/opentox.rb index 80df507..040b0df 100644 --- a/lib/opentox.rb +++ b/lib/opentox.rb @@ -114,7 +114,6 @@ module OpenTox when 'application/rdf+xml' body = self.to_rdfxml end - Authorization.check_policy(@uri, @subjectid) if $aa[:uri] uri = RestClientWrapper.put @uri.to_s, body, { :content_type => mime_type, :subjectid => @subjectid} wait ? wait_for_task(uri) : uri end -- cgit v1.2.3