You have three compartments: ProjectA, ProjectB, and ProjectC. For each compartment, there is an admin group set up: A-Admins, B-Admins, and C-Admins.
Each admin group has full access over their respective compartments as shown in the graphic below.
Your organization has set up a tag namespace, EmployeeGroup.Role and all your admin groups are tagged with a value of ‘Admin’.
You want to set up a Test compartment for members of the three projects to share. You also need to provide admin access to all three of your existing admin groups.
Which policy would you write to accomplish this task?
A. Allow all-group to manage all-resources in compartment Test where request.principal.group.tag.EmployeeGroup.Role=’Admin’
B. Allow dynamic-group to manage all-resources in compartment Test where request.principal.group.tag.EmployeeGroup.Role=’Admin’
C. Allow any-user to manage all-resources in compartment Test where request.principal.group.tag.EmployeeGroup.Role=’Admin’
D. Allow group any-group to manage all-resources in compartment Test where request.principal.group.tag.EmployeeGroup.Role=’Admin’