summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn Keiser <jkeiser@opscode.com>2014-08-29 08:08:10 -0700
committerJohn Keiser <jkeiser@opscode.com>2014-08-29 08:08:10 -0700
commited903027907a0905ce8c52be4c40153690495574 (patch)
treeb87c7f9150a9b467e89b971fe04ecd30be7584e9
parentbb893906401b060e1b8f42c69fcc2b510d304cd9 (diff)
downloadchef-zero-ed903027907a0905ce8c52be4c40153690495574.tar.gz
Add /organization/_acl endpoint for knife download/upload
-rw-r--r--lib/chef_zero/server.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/chef_zero/server.rb b/lib/chef_zero/server.rb
index 7bb232a..16c6fc8 100644
--- a/lib/chef_zero/server.rb
+++ b/lib/chef_zero/server.rb
@@ -486,8 +486,10 @@ 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) ]
]