diff options
Diffstat (limited to 'lib/chef_zero/endpoints/acls_endpoint.rb')
-rw-r--r-- | lib/chef_zero/endpoints/acls_endpoint.rb | 2 |
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| |