Start with the actual cache key, not the policy expression. An authorization answer is about a principal taking an action on a resource under some context. If a gateway caches allow by route or tenant alone, a later request can reuse that decision for another principal or another case. A correct policy service cannot fix a missing input in the cached lookup. Amazon Verified Permissions represents an authorization request with principal, action, resource and context. API Gateway's Lambda authorizer documentation explains how configured identity sources form the cache key, and warns that simple responses apply to matching cached identity-source values.

Draw two calls through the same route. A reads case 91 and gets an allow. B then asks for case 91, or A asks for private case 92. Which exact key does the gateway look up? If it does not distinguish the policy inputs that change the outcome, caching is unsafe. Include subject identity, tenant, action and resource scope as required by the policy. If the decision depends on record owner, purpose, policy version or time, either include those in a bounded key and invalidate on change, or avoid caching that decision. Do not put raw bearer tokens or sensitive attributes in observability labels just to make the cache convenient.

I would replay the A-allow/B-deny pair with caching enabled and disabled, then change a case's owner and repeat. Compare cache hit logs with the policy service's would-have-decided result in a controlled test. For immediate containment, disable the faulty cache or its affected route, invalidate existing entries and check access logs for cross-user reads. A short TTL reduces the exposure window but does not make a wrong cache key correct.

One subtlety is that some gateways cache a scoped policy rather than a bare boolean. Inspect what is cached and what the gateway enforces on a hit. If the cached policy is narrow enough for the requested resource and action, it may be safe with a coarser lookup than a simple allow flag. A semantic cache served tenant A's private answer to tenant B. What now? addresses a semantic answer cache returning another tenant's text. This is an earlier decision boundary where authorization itself was incorrectly reused.

Think of the cache key as defining which requests are equivalent for authorization. If two requests map to the same Boolean entry, the application is claiming their allow/deny result will match for the entry’s lifetime. A key containing only tenant and route makes that claim across all users and cases on the route. The A/B and 91/92 fixture disproves it immediately. Add only the dimensions needed for a sound equivalence class, or stop caching when those dimensions cannot be maintained safely.

Current ownership or membership may live outside the request. Including user and case IDs does not prevent staleness when a case is reassigned or the user leaves a team. A policy/data revision, short freshness lease or invalidation mechanism can bound that issue, but its propagation and failure behavior must be defined. A TTL of five minutes is not compatible with an unqualified promise of instant revocation.

A safe cached scoped policy is checked against the current requested action and resource on every hit. A bare allow has no such internal restriction. Inspect the real gateway response format before copying advice from another API Gateway mode. Cache only a validated authorization result, keep sensitive identifiers out of high-cardinality public metrics, and verify both cross-user isolation and policy-change behavior in a controlled environment.