chef-boneyard / knife-acl

knife plugin for working with ACLs on Chef Server
http://www.chef.io
Apache License 2.0
81 stars 15 forks source link

Can't add multiple permissions to an ACL #42

Open svucich opened 7 years ago

svucich commented 7 years ago

I used this gem to edit the ACL's after the LDAP config ruined all of the permissions on a new chef deployment. Issue I have is I can't add more than one permission type at a time. EG: When I run the following: knife acl add group admins containers cookbook_artifacts create, read, update, delete, grant I get the error as follows: FATAL: Invalid permission "create read update delete grant". The following permissions are permitted: create,read,update,delete,grant This is resolved when I run command 5 times, defining just a single permission type at a time. I have also tried various ways of separating the permission types like so create,read,update,delete,grant or create, read, update, delete, grant and even (out of pure lazyness as I did not want to run the command for each permission type) create read update delete grant

Hoping that this is a simple oversight and not a "feature" :D

Thanks again for the great tool!