summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorrautenberg <rautenberg@in-silico.ch>2013-04-26 17:50:17 +0200
committerrautenberg <rautenberg@in-silico.ch>2013-04-26 17:50:17 +0200
commite65b7a218d772551a1310e0f4bfca950956a9da3 (patch)
tree797e7b094962b6533387cfee7410a3af8ff08781
parentc2164bec5e612dff04189ce24d3966e020f74d6c (diff)
remove policy check might not be the right one
-rw-r--r--lib/opentox.rb2
1 files changed, 0 insertions, 2 deletions
diff --git a/lib/opentox.rb b/lib/opentox.rb
index 070a561..eb35b38 100644
--- a/lib/opentox.rb
+++ b/lib/opentox.rb
@@ -117,7 +117,6 @@ module OpenTox
post "/#{SERVICE}/?" do
@uri = uri("/#{SERVICE}/#{SecureRandom.uuid}")
FourStore.put(@uri, @body, @content_type)
- Authorization.check_policy(@uri, @subjectid) if $aa[:uri]
response['Content-Type'] = "text/uri-list"
@uri
end
@@ -140,7 +139,6 @@ module OpenTox
# Delete a resource
delete "/#{SERVICE}/:id/?" do
FourStore.delete @uri
- Authorization.delete_policies_from_uri(@uri, @subjectid) if $aa[:uri]
end
end