summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn Keiser <john@johnkeiser.com>2016-01-27 13:31:59 -0800
committerJohn Keiser <john@johnkeiser.com>2016-01-27 13:31:59 -0800
commit4340d1b8cdfc7abe501e2aca7555a9b2edb8b48f (patch)
tree1bdcc70bd61d2c0f6d5be115c23877df6a5e7f5a
parent2e9dcfdcf5b670e5676185a7fdb01389e014ed3a (diff)
downloadchef-zero-4340d1b8cdfc7abe501e2aca7555a9b2edb8b48f.tar.gz
Restore creator into policy_group ACL
-rw-r--r--lib/chef_zero/endpoints/policy_group_policy_endpoint.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/chef_zero/endpoints/policy_group_policy_endpoint.rb b/lib/chef_zero/endpoints/policy_group_policy_endpoint.rb
index 5d32aac..d227905 100644
--- a/lib/chef_zero/endpoints/policy_group_policy_endpoint.rb
+++ b/lib/chef_zero/endpoints/policy_group_policy_endpoint.rb
@@ -56,7 +56,7 @@ module ChefZero
# group.
# Storage: /organizations/ORG/policies/POLICY/revisions/REVISION
response_code = exists_data?(request) ? 200 : 201
- set_data(request, nil, to_json(revision_id), :create_dir)
+ set_data(request, nil, to_json(revision_id), :create, :create_dir)
already_json_response(response_code, request.body)
end