Menu

Prove a Revoked Grant Is Gone Before You Close the Ticket
📰

Prove a Revoked Grant Is Gone Before You Close the Ticket

DEV Community: kubernetes·Morgan Xu·3 days ago
#Ce4s2eLV
#devtokubernetes#devto#dev#binding#subject
Long article (328 words) — no AI summary yet.
Reading 0:00
15s threshold

Removing one binding can leave effective access unchanged. Kubernetes RBAC grants are additive. A RoleBinding grants its subjects permissions in its namespace even when it refers to a ClusterRole; a ClusterRoleBinding grants the referenced permissions cluster-wide. Kubernetes RBAC documentation

Consider a hypothetical offboarding review for a single binding on a team model service. The question is whether the departing subject can still perform a named action after that binding is removed. Before changing access, write the expected allow-or-deny decision for each request in the review record.

Steps

Define a small set of requests: verb, API group, resource, and namespace. Use one subject identity. In a controlled environment, observe the authorization decision for each request before removal, and record the time and cluster. This is an observation-based check; no command is supplied here because the exact tooling depends on the environment.

Remove the binding under review.…

Continue reading — create a free account

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