Diagram
A hierarchy tree showing how allow policies flow from the organization through folders and projects to service resources. The effective policy of a resource is the union of its own policy and all inherited ancestor policies.
How Inheritance Creates Effective Permissions
Policy inheritance means that an allow policy set on a parent container also applies to every descendant resource in that container. The effective permissions for a resource are the union of the policy attached to that resource and all policies inherited from its parent project, folders, and organization. A child policy therefore adds access but does not remove access granted higher in the hierarchy.
This inheritance creates three practical results for access design. A single role binding on a folder or organization can grant access to many projects and resources at once. A principal can gain access to a resource that has no policy of its own, such as granting Logs Bucket Writer (roles/logging.bucketWriter) on a project to allow writing to a log bucket inside it. And a project-level grant, such as Compute Engine VM administration, applies to every VM in that project regardless of the policy set on each VM.
Domain 1 of 2
24 practice questions
Practice this DomainLast updated