Cache key omits tenant id
Why it happens
Two tenants use the same object id or natural key.
Potential bug
One tenant receives another's data.
Mitigation
Include tenant and authorization/version dimensions in every shared cache key; test collisions.
Two tenants use the same object id or natural key.
One tenant receives another's data.
Include tenant and authorization/version dimensions in every shared cache key; test collisions.