vcf_vim_permission

State module for vCenter object permissions.

saltext.vcf.states.vcf_vim_permission.present(name, entity_ref, principal, role, propagate=True, group=False, profile=None)[source]

Ensure (principal, group) has role on entity_ref with propagate.

The state ID name is informational; the identity tuple is (entity_ref, principal, group).

saltext.vcf.states.vcf_vim_permission.absent(name, entity_ref, principal, group=False, profile=None)[source]

Ensure (principal, group) has no permission on entity_ref.