v0.6.355: missing groups claim (#1003 option E) and group matching stage 1 (#1002) #1006

Merged
Cordy merged 12 commits from b7 into main 2026-10-26 04:37:33 +00:00
Owner

Batch 7.

#1003, missing groups claim (option E with E′):

  • A missing groups claim counts as not allowed (claim=absent).
  • Exceptions: overage, a claim never seen before (shared marker), or a tripped safety stop.
  • The safety stop:
    • counts only people whose access a refusal would end;
    • trips after 3 different people in a row;
    • lifts the pauses that streak caused (at most 2) and resets when a sign-in carries the claim again;
    • is audited as auth-claim-stop.
  • A string claim counts as a one-item list.
  • UI from the approved mockup: Groups claim row, red card, bell item (opens Users & access), audit lines.

#1002 stage 1, one exact matching rule (option A):

  • Full paths, and a bare name means top-level, for spaces, group shares and peering (the /x form is Keycloak-only).
  • App groups:
    • an app-group addressee is stored in the group's own spelling;
    • bare claim values are dropped;
    • names that look alike are refused.
  • New -ro space names are refused.
  • Space group binding API (UI comes in stage 2); it is refused in power mode.
  • Start WARNs, NFC twins grant nothing, ForgeRock issuers excluded.

Docs:

  • CHANGELOG v0.6.355, with the v0.6.354 sentences corrected.
  • Handbook: users-access, spaces, directory-entra-id, ldap-ad, sharing, peering, groups.

Reviews (per task plus a final whole-branch review) are in .superpowers/sdd/2026-10-26-batch7/.

Batch 7. **#1003, missing groups claim (option E with E′):** - A missing groups claim counts as not allowed (`claim=absent`). - Exceptions: overage, a claim never seen before (shared marker), or a tripped safety stop. - The safety stop: - counts only people whose access a refusal would end; - trips after 3 different people in a row; - lifts the pauses that streak caused (at most 2) and resets when a sign-in carries the claim again; - is audited as `auth-claim-stop`. - A string claim counts as a one-item list. - UI from the approved mockup: Groups claim row, red card, bell item (opens Users & access), audit lines. **#1002 stage 1, one exact matching rule (option A):** - Full paths, and a bare name means top-level, for spaces, group shares and peering (the `/x` form is Keycloak-only). - App groups: - an app-group addressee is stored in the group's own spelling; - bare claim values are dropped; - names that look alike are refused. - New `-ro` space names are refused. - Space group binding API (UI comes in stage 2); it is refused in power mode. - Start WARNs, NFC twins grant nothing, ForgeRock issuers excluded. **Docs:** - CHANGELOG v0.6.355, with the v0.6.354 sentences corrected. - Handbook: users-access, spaces, directory-entra-id, ldap-ad, sharing, peering, groups. Reviews (per task plus a final whole-branch review) are in `.superpowers/sdd/2026-10-26-batch7/`.
# Conflicts:
#	internal/audit/verbs.go
Cordy merged commit 95020af73c into main 2026-10-26 04:37:33 +00:00
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: Cordy/Cairn#1006
No description provided.