diff options
-rw-r--r-- | knife/lib/chef/knife/acl_base.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/knife/lib/chef/knife/acl_base.rb b/knife/lib/chef/knife/acl_base.rb index 0835d1ac05..d0ceb4c1d8 100644 --- a/knife/lib/chef/knife/acl_base.rb +++ b/knife/lib/chef/knife/acl_base.rb @@ -25,7 +25,7 @@ class Chef PERM_TYPES = %w{create read update delete grant}.freeze unless defined? PERM_TYPES MEMBER_TYPES = %w{client group user}.freeze unless defined? MEMBER_TYPES - OBJECT_TYPES = %w{clients containers cookbooks data environments groups nodes roles policies policy_groups}.freeze unless defined? OBJECT_TYPES + OBJECT_TYPES = %w{clients containers cookbook_artifacts cookbooks data environments groups nodes roles policies policy_groups}.freeze unless defined? OBJECT_TYPES OBJECT_NAME_SPEC = /^[\-[:alnum:]_\.]+$/.freeze unless defined? OBJECT_NAME_SPEC def validate_object_type!(type) |