diff options
author | John Keiser <jkeiser@opscode.com> | 2014-08-21 12:37:22 -0700 |
---|---|---|
committer | John Keiser <jkeiser@opscode.com> | 2014-08-22 09:20:50 -0700 |
commit | a4efe10a02590f9caa21544504a2b1d6f5ffb295 (patch) | |
tree | 52bc642cc69f0f29a804bdbc00cd5d0016e78da5 /lib/chef_zero/server.rb | |
parent | 57203ee3aabee96aaa5ba6437e4d6b373793d897 (diff) | |
download | chef-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.rb | 2 |
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) ] ] |