Learning center

Trace a Google Cloud IAM denial to an inherited deny rule

A relevant IAM deny rule can block a permission even when an allow role includes it. Check where the rule attaches and which principals, permissions, conditions and exceptions it covers.

Suppose a fictional analytics group has Storage Object Viewer on its daily report bucket. The denied permission is storage.objects.get, and the bucket's project belongs to a folder with a deny policy covering that permission for the analytics group. Using authorized policy inspection, compare the original caller, exact permission and request context with the deny rule and its exceptions. Keep the folder where the rule attaches in the receipt. Google Cloud IAM deny policies and inheritance ยท Policy Troubleshooter

If the requested read is legitimate, route it to the deny policy owner with the intended report path and the rule that blocked it. Granting a second Storage role leaves an applicable deny in place.

Trace another denied request.

One month of free code review.

New organizations get one calendar month of hosted code review for private and public GitHub repositories. No card or cloud connection required. Eligibility and fair-use terms.

Start free with GitHub

Related reading