How RBAC Rules Combine
A user is bound to two Roles. One allows get on Pods, the other allows delete on Pods. Is there a way to write a deny rule in RBAC?
get
delete
deny
Part of Prepare for the KCSA. Next step: Verbs That Lead to Escalation
Choose one answer
No: RBAC is additive; remove a rule or binding to take a permission away
Yes: add effect: Deny to a rule, and it overrides any matching allow
effect: Deny
Yes: a ClusterRole bound to the user always overrides any Role
Yes: when two bindings conflict, the binding created last wins