diff options
author | John Keiser <jkeiser@opscode.com> | 2014-07-24 18:54:51 -0600 |
---|---|---|
committer | John Keiser <jkeiser@opscode.com> | 2014-08-22 09:20:48 -0700 |
commit | 317d7231983fea9a6f4e59a1451e80e58e0d781a (patch) | |
tree | 411ac89b17bd9da14eb55b00d4a139e5e1982283 /lib/chef_zero/endpoints/acl_endpoint.rb | |
parent | 5c6c2a6921fe8c7d091854eb644ac0f42208126e (diff) | |
download | chef-zero-317d7231983fea9a6f4e59a1451e80e58e0d781a.tar.gz |
Clients have access to themselves
Diffstat (limited to 'lib/chef_zero/endpoints/acl_endpoint.rb')
-rw-r--r-- | lib/chef_zero/endpoints/acl_endpoint.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/chef_zero/endpoints/acl_endpoint.rb b/lib/chef_zero/endpoints/acl_endpoint.rb index 072e8cb..9470dfc 100644 --- a/lib/chef_zero/endpoints/acl_endpoint.rb +++ b/lib/chef_zero/endpoints/acl_endpoint.rb @@ -29,7 +29,7 @@ module ChefZero # Needs to be 405, but account returns 404 raise RestErrorResponse.new(404, "Object not found: #{build_uri(request.base_uri, request.rest_path)}") end - acls = DataNormalizer.normalize_acls(get_acls(request, path), request.requestor) + acls = DataNormalizer.normalize_acls(get_acls(request, path)) json_response(200, { perm => acls[perm] }) end |