summaryrefslogtreecommitdiff
path: root/lib/chef_zero/server.rb
diff options
context:
space:
mode:
authorJohn Keiser <jkeiser@opscode.com>2014-08-21 12:37:22 -0700
committerJohn Keiser <jkeiser@opscode.com>2014-08-22 09:20:50 -0700
commita4efe10a02590f9caa21544504a2b1d6f5ffb295 (patch)
tree52bc642cc69f0f29a804bdbc00cd5d0016e78da5 /lib/chef_zero/server.rb
parent57203ee3aabee96aaa5ba6437e4d6b373793d897 (diff)
downloadchef-zero-a4efe10a02590f9caa21544504a2b1d6f5ffb295.tar.gz
Make acls endpoints return 405 for disallowed methods
Diffstat (limited to 'lib/chef_zero/server.rb')
-rw-r--r--lib/chef_zero/server.rb2
1 files changed, 0 insertions, 2 deletions
diff --git a/lib/chef_zero/server.rb b/lib/chef_zero/server.rb
index 6ccdb89..73e0561 100644
--- a/lib/chef_zero/server.rb
+++ b/lib/chef_zero/server.rb
@@ -444,10 +444,8 @@ module ChefZero
[ "/organizations/*/containers/*", ContainerEndpoint.new(self) ],
[ "/organizations/*/groups", GroupsEndpoint.new(self) ],
[ "/organizations/*/groups/*", GroupEndpoint.new(self) ],
- [ "/organizations/*/organization/_acl", AclsEndpoint.new(self) ],
[ "/organizations/*/organizations/_acl", AclsEndpoint.new(self) ],
[ "/organizations/*/*/*/_acl", AclsEndpoint.new(self) ],
- [ "/organizations/*/organization/_acl/*", AclEndpoint.new(self) ],
[ "/organizations/*/organizations/_acl/*", AclEndpoint.new(self) ],
[ "/organizations/*/*/*/_acl/*", AclEndpoint.new(self) ]
]