Repository navigation
docs(rbac): document the four combo-escalation rule_types - #142
shariqueahmad108-ship-it wants to merge 1 commit into
Conversation
|
Holding this one, and I owe you a clear explanation rather than a silent close — you didn't do anything wrong here. #133 (opened a day before this) also closes #129 and adds a combo-rules section to the same file. The two don't conflict in git — your section goes in after the notes block, theirs after the main table, so both apply cleanly and the merged file ends up with So one of them has to give way, and it has to be this one. #133 also closes #88 — it adds the Two things in here are better than #133's, and I'm not letting them evaporate: Your placement is the correct one. Putting the combo section after the per-role notes rather than between the main table and its notes is right — #133's insertion point splits that table from the prose explaining it. I've asked them to move theirs to where you put yours. Your So: once #131 and #133 are both merged, rebase this on If you'd rather not do the rebase, say so and I'll close this with credit in the changelog — no hard feelings either way. But I'd rather you got the commit. Sorry you hit this. Two people solving the same open issue in the same week is a queue-management failure on my end, not yours — #129 should have been assigned when Maqbool asked for it on #88. I've started assigning And to be concrete about that, rather than leaving you to guess what's safe to pick up — nothing on the tracker is assigned right now except my own design issues, so all of these are open:
Your #143 is still in my queue and I'll review it this week — this isn't a signal about that one. Three PRs in two weeks, and the one substantive review I gave you came back fixed correctly the first time. I'd rather keep you contributing than win an argument about a docs section, so if any of the above appeals, claim it and it's yours. |
|
Both blockers are now merged: #131 landed on 2026-08-05 and #133 went in today, so the section this needs to attach to is on The docs now have So the ask is what I described before, unchanged: rebase on
— which is accurate against the code as merged. I checked One nuance worth folding in while you're there, because it's the one case your bullet doesn't cover: when a rule omits Everything else in this PR is now covered by the merged section, so the rest can go. Small diff, your commit, and it documents your own #125/#131 fix. I'll review it same-day — and thanks for waiting through this one; the queue collision was mine to avoid. If you'd rather not do the rebase, say so and I'll close with changelog credit, no hard feelings. #144 ( |
dcfb3ab to
25aabf8
Compare
|
Done — rebased on |
…aval#129) Rebased on main and cut down to the single api_groups bullet reserved for this PR — the combination-escalation section itself landed via kaaval#133. Documents that roles/clusterroles/rolebindings/clusterrolebindings only count in the rbac.authorization.k8s.io group and users/groups/serviceaccounts/pods only in the core group, so a CRD reusing one of those resource names in an unrelated group does not trigger these rules (kaaval#125). Also notes that a rule which omits api_groups is treated as unspecified and still counts, matching _has_resource in effective_access.py. Signed-off-by: shariqueahmad108-ship-it <[email protected]>
25aabf8 to
6906c86
Compare
What this changes
#105 shipped combo_role_escalation, combo_bind_escalation, impersonation_grant, and privileged_pod_creation, but none of them made it into docs/rbac-rules.md - every other rule has a row there, these four (the highest severity ones) didn't.
Gave them their own table instead of folding into the main one, since the main table's trigger column says "any rule in the Role/ClusterRole" and that's not true here - these only fire on a subject's aggregate rule set across every binding. Tried to make that distinction clear for someone who hasn't read effective_access.py.
Closes #129
Type
Checklist
How you verified it
grep -n "combo_role_escalation\|combo_bind_escalation\|impersonation_grant\|privileged_pod_creation" docs/rbac-rules.md(the check the issue itself specifies) - all four now appear. Also ran the control-plane test suite on this branch to make sure nothing else broke: 114 passed (SQLite override, no Postgres locally - same as noted on #131).