Closed poliva83 closed 9 years ago
I found my answer after reviewing ChefServerPermissions_v1.3.pdf.
A Group is a entity that contains lists of Actors and other Groups. It is a way to link Actors in the system that should share the same permissions on an Object. An example is the Admin group. Groups can contain other Groups. When resolving permissions, the system just walks down the chain until it reaches the end and finds the Actors contained in the Group.
Closing this issue.
It appears that its possible create a group and add other groups to this group. However I am confused about the acl implications. In spec example below does any user in group 'g' have all acl permissions set for group 'g' plus those also set for group 'x'? Which acl permissions would take precedence if group 'g' and 'x' rules are in conflict? Is it some kind of union? Sorry this probably isn't a cheffish related issue but I couldn't find these answers on chef docs (https://docs.chef.io/server_orgs.html) and thought someone here might know.
related spec: https://github.com/chef/cheffish/blob/master/spec/integration/chef_group_spec.rb#L109