summaryrefslogtreecommitdiff
path: root/lib/chef_zero/endpoints/acls_endpoint.rb
diff options
context:
space:
mode:
authorLamont Granquist <lamont@scriptkiddie.org>2016-09-02 15:51:14 -0700
committerLamont Granquist <lamont@scriptkiddie.org>2016-09-02 15:51:14 -0700
commitc3a79237eb34266d948bb780b36f7865a9322544 (patch)
treec12db79358d00fe96002377b04b6bee5b2bf41f6 /lib/chef_zero/endpoints/acls_endpoint.rb
parentc674dfeacf773579a2eb56cb3c02428268452b50 (diff)
downloadchef-zero-c3a79237eb34266d948bb780b36f7865a9322544.tar.gz
Revert "remove create additions flag"
This reverts commit c674dfeacf773579a2eb56cb3c02428268452b50.
Diffstat (limited to 'lib/chef_zero/endpoints/acls_endpoint.rb')
-rw-r--r--lib/chef_zero/endpoints/acls_endpoint.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/chef_zero/endpoints/acls_endpoint.rb b/lib/chef_zero/endpoints/acls_endpoint.rb
index 64840cd..f0ca047 100644
--- a/lib/chef_zero/endpoints/acls_endpoint.rb
+++ b/lib/chef_zero/endpoints/acls_endpoint.rb
@@ -20,7 +20,7 @@ module ChefZero
if !acl_path
raise RestErrorResponse.new(404, "Object not found: #{build_uri(request.base_uri, request.rest_path)}")
end
- acls = FFI_Yajl::Parser.parse(get_data(request, acl_path))
+ acls = FFI_Yajl::Parser.parse(get_data(request, acl_path), :create_additions => false)
acls = ChefData::DataNormalizer.normalize_acls(acls)
if request.query_params["detail"] == "granular"
acls.each do |perm, ace|