Menu

The Empty Array Is Not a Denial: Auditing Model Grants
πŸ“°

The Empty Array Is Not a Denial: Auditing Model Grants

DEV Community: kubernetesΒ·jarynΒ·1 day ago
#b6bmo4uv
#devtokubernetes#devto#dev#path#model
Long article (1789 words) β€” no AI summary yet.
Reading 0:00
15s threshold

An operator removes one member from a model's direct access list, saves, and the admin editor displays memberIds: [] . It is tempting to conclude access is gone. But if the same member is also covered by a group grant, and the implementation combines grants additively, effective access can remain through that group. The editor showed one grant path; the enforcement layer still has to be checked.

This is a reconciliation problem, not a UI bug. When access can be granted through more than one path, an effective access set may be the union of those paths, but only if the authorization model is additive. If the system has deny rules, precedence, or conditional policies, a plain union is the wrong shape.…

Continue reading β€” create a free account

Join HashtagPLUS to read full articles, follow hashtags, vote, and join the conversation.