chef-zero 5.3.1 → 5.3.2

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 45c7678f376321556e270316e7aab3492a440cde
4
- data.tar.gz: b0302b9e4722f2cee53c2f29ecabea74672fd549
3
+ metadata.gz: c112587ef733b5fcb5a38cfe65d5008e797f7df8
4
+ data.tar.gz: 4e19d9af2a6fc423de906afccef0e878da603736
5
5
  SHA512:
6
- metadata.gz: ebe88d1277ea7d64b2bf577a10892d40777a5e5bdc917ae399d73ca813f2effbf17dc235cb2f2d900cb1a6e7589b67f829d39f2a0a2864c9ae2f7c8ede851742
7
- data.tar.gz: c641a8ada0f8b5b22d5ef4277c23b331068adc3054af6e7608afb4a09b1702b2c20e77c6cd79b4f7da94b12b398e9f390c7f01897d5dfb3bde780f34c1f13166
6
+ metadata.gz: b576d2cd5cad7f0504bcf4818e2ce144d356a0f68f98f3d29134043bc67b4d632b70306613eb742a3dce907de7ed205d9780756ef87f62f32152b71e5c3c550a
7
+ data.tar.gz: 747890ec9ca51713a8ff529b123686348d2db1294e2a7f9712fd127411cd556b866c6ab179df9e43be7e0222549e3ddb1dd393a28d608f8f7a4cb2840025cf06
@@ -270,7 +270,8 @@ module ChefZero
270
270
 
271
271
  def get_org_acl_default(path)
272
272
  object_path = AclPath.get_object_path(path)
273
- # The actual things containers correspond to don't have to exist, as long as the container does
273
+ # The actual things containers correspond to don't have to exist, as
274
+ # long as the container does
274
275
  return nil if !data_exists?(object_path)
275
276
  basic_acl =
276
277
  case path[3..-1].join("/")
@@ -282,7 +283,10 @@ module ChefZero
282
283
  "delete" => { "groups" => %w{admins} },
283
284
  "grant" => { "groups" => %w{admins} },
284
285
  }
285
- when "containers/environments", "containers/roles", "containers/policy_groups", "containers/policies"
286
+ when "containers/environments", "containers/roles",
287
+ "containers/policy_groups", "containers/policies",
288
+ "containers/cookbooks", "containers/cookbook_artifacts",
289
+ "containers/data"
286
290
  {
287
291
  "create" => { "groups" => %w{admins users} },
288
292
  "read" => { "groups" => %w{admins users clients} },
@@ -290,14 +294,6 @@ module ChefZero
290
294
  "delete" => { "groups" => %w{admins users} },
291
295
  "grant" => { "groups" => %w{admins} },
292
296
  }
293
- when "containers/cookbooks", "containers/cookbook_artifacts", "containers/data"
294
- {
295
- "create" => { "groups" => %w{admins users clients} },
296
- "read" => { "groups" => %w{admins users clients} },
297
- "update" => { "groups" => %w{admins users clients} },
298
- "delete" => { "groups" => %w{admins users clients} },
299
- "grant" => { "groups" => %w{admins} },
300
- }
301
297
  when "containers/nodes"
302
298
  {
303
299
  "create" => { "groups" => %w{admins users clients} },
@@ -1,3 +1,3 @@
1
1
  module ChefZero
2
- VERSION = "5.3.1"
2
+ VERSION = "5.3.2"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: chef-zero
3
3
  version: !ruby/object:Gem::Version
4
- version: 5.3.1
4
+ version: 5.3.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - John Keiser
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-03-08 00:00:00.000000000 Z
11
+ date: 2017-03-28 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: mixlib-log
@@ -303,7 +303,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
303
303
  version: '0'
304
304
  requirements: []
305
305
  rubyforge_project:
306
- rubygems_version: 2.5.1
306
+ rubygems_version: 2.6.10
307
307
  signing_key:
308
308
  specification_version: 4
309
309
  summary: Self-contained, easy-setup, fast-start in-memory Chef server for testing