summaryrefslogtreecommitdiff
path: root/lib/chef_zero/rest_base.rb
diff options
context:
space:
mode:
authorJohn Keiser <jkeiser@opscode.com>2014-08-21 15:40:30 -0700
committerJohn Keiser <jkeiser@opscode.com>2014-08-22 09:20:50 -0700
commitc5db8bb9383b6e5b94776043985714fc35196c1e (patch)
treef936d7a377287c02ae809444c1f30a9cec67e204 /lib/chef_zero/rest_base.rb
parentc02c90532ddb6e7faa21b0642a200de2ec0f08d9 (diff)
downloadchef-zero-c5db8bb9383b6e5b94776043985714fc35196c1e.tar.gz
Fix cookbook ACLs (set can create directories)
Diffstat (limited to 'lib/chef_zero/rest_base.rb')
-rw-r--r--lib/chef_zero/rest_base.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/chef_zero/rest_base.rb b/lib/chef_zero/rest_base.rb
index f64343b..d85f489 100644
--- a/lib/chef_zero/rest_base.rb
+++ b/lib/chef_zero/rest_base.rb
@@ -115,7 +115,7 @@ module ChefZero
def set_data(request, rest_path, data, *options)
rest_path ||= request.rest_path
begin
- data_store.set(rest_path, data, *options)
+ data_store.set(rest_path, data, *options, :requestor => request.requestor)
rescue DataStore::DataNotFoundError
if options.include?(:data_store_exceptions)
raise