Menu

The Revocation Check: A Lab on Additive Access Grants
📰

The Revocation Check: A Lab on Additive Access Grants

DEV Community: kubernetes·Charlie Xu·3 days ago
#GEU8GtLT
#devtokubernetes#devto#dev#subject#grant
Long article (377 words) — no AI summary yet.
Reading 0:00
15s threshold

Closing a revocation ticket requires a defined target. An independent second check can show whether a particular subject still has a particular permission; deleting a binding tells us only which object was removed.

The setup

Consider a cohort that shares one credential for an eval runner. A student rotates out. That credential represents the runner, so removing its grant affects everyone using it. For the lab, use separately identifiable subjects so the control can be tested independently.

Kubernetes RBAC documentation states that grants combine additively. A RoleBinding grants its subjects permissions in the binding's namespace even when it references a ClusterRole, and a ClusterRoleBinding grants the referenced role's permissions cluster-wide. Removing one binding may leave equivalent access through another grant ( RBAC docs ).

Prerequisites: two or more subjects, two or more grants that could overlap, and an evidence store you own.…

Continue reading — create a free account

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