QuestionQ109

VerifiedConfiguring access

Your Google Cloud environment contains one organization node, one folder named “Apps,” and several projects in that folder. The organization node enforces the constraints/iam.allowedPolicyMemberDomains organization policy, allowing members from the terramearth.com organization. The “Apps” folder enforces the constraints/iam.allowedPolicyMemberDomains organization policy, allowing members from the flowlogistic.com organization. It also has the inheritFromParent: false property.

You try to grant a project in the “Apps” folder access to the user [email protected].

What is the outcome of this action, and why?

Explanation

For a legacy list-constraint policy, inheritFromParent: false prevents the folder from inheriting the parent policy. The folder’s policy becomes the effective allowed-domain restriction for its descendant projects, so only members of flowlogistic.com can be granted IAM roles. Domain-restricted sharing blocks IAM grants to principals outside the allowed organization or domain.

Learn more

Community Discussion

No comments yet. Be the first to start the discussion!