# 1. Create
chef_role 'blah' do
user_permissions 'cosmo', :all
user_permissions 'jerry', :read, :write, :delete
group_permissions 'errbody', :read
group_permissions 'clients', :read, :write
end
# 2. Modify
# jerry will get his permissions downgraded to read only.
# cosmo, errbody, clients will stay the same.
chef_role 'blah' do
user_permissions 'jerry', :read
end
# 3. Re-specify
# cosmo will retain all permissions, but jerry, errbody and clients will have their permissions removed.
chef_role 'blah' do
user_permissions 'cosmo', :all
complete true
end
Created
March 12, 2014 20:08
-
-
Save jkeiser/9515246 to your computer and use it in GitHub Desktop.
ACL modification proposal
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment