v0.6.357: group references (#1002 stage 2, #919, #928, #933) #1015

Merged
Cordy merged 44 commits from b9 into main 2026-10-26 17:42:00 +00:00
Owner

Batch 9, stage 2. Implements the decisions on #1002, #919, #928 and #933, and the approved stage-2 mockup.

Group references

  • Group references are kept in shared state, with ids per provider:
    • Keycloak compares ids when the admin client is configured.
    • LDAP/AD use ldapGroupIdAttr.
    • Entra uses object ids from oidcSpaceGroupsClaim.
    • Generic OIDC uses the path.
  • Lifecycle:
    • renames and moves are followed;
    • a group counts as not found after two checks;
    • a recreated group needs re-linking;
    • restored groups come back.

Spaces and sharing

  • Directory spaces: explicit read/write binding; the -ro rule is retired; origin wins (#919); power-mode edit rule.
  • Shares and peering: stored by reference. The picker shows people only their own groups by default, and groupScope sits in Sharing › Policy (#928).
  • Config entries: an adminGroups change waits for confirmation; oidcAllowedGroups follows.

Admin, upgrade and API

  • Admin: space binding panel, group chooser, re-link with the uses list, New directory space, Needs review, bell items with a "Group changes" preference, audit verbs.
  • Upgrade: idempotent, with self-healing on each lease-holder pass and rollback mirrors kept.
  • API: PATCH /api/v1/grants/{id} changes a role; an admin may only lower it.

Docs: CHANGELOG v0.6.357 and handbook.

Reviews: per task, per merge, and a final whole-branch review with its fix round, in .superpowers/sdd/2026-10-26-batch9/.

Batch 9, stage 2. Implements the decisions on #1002, #919, #928 and #933, and the approved stage-2 mockup. **Group references** - Group references are kept in shared state, with ids per provider: - Keycloak compares ids when the admin client is configured. - LDAP/AD use `ldapGroupIdAttr`. - Entra uses object ids from `oidcSpaceGroupsClaim`. - Generic OIDC uses the path. - Lifecycle: - renames and moves are followed; - a group counts as not found after two checks; - a recreated group needs re-linking; - restored groups come back. **Spaces and sharing** - **Directory spaces:** explicit read/write binding; the `-ro` rule is retired; origin wins (#919); power-mode edit rule. - **Shares and peering:** stored by reference. The picker shows people only their own groups by default, and `groupScope` sits in Sharing › Policy (#928). - **Config entries:** an `adminGroups` change waits for confirmation; `oidcAllowedGroups` follows. **Admin, upgrade and API** - **Admin:** space binding panel, group chooser, re-link with the uses list, New directory space, Needs review, bell items with a "Group changes" preference, audit verbs. - **Upgrade:** idempotent, with self-healing on each lease-holder pass and rollback mirrors kept. - **API:** `PATCH /api/v1/grants/{id}` changes a role; an admin may only lower it. **Docs:** CHANGELOG v0.6.357 and handbook. **Reviews:** per task, per merge, and a final whole-branch review with its fix round, in `.superpowers/sdd/2026-10-26-batch9/`.
# Conflicts:
#	web/test/qa693.test.js
Cordy merged commit 2eab63f33d into main 2026-10-26 17:42:00 +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#1015
No description provided.