You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit db01bdb
Browse filesBrowse the repository at this point in the historyBrowse files
One coordinated pre-launch pass implementing ADR-0090 D1-D4 and the P1
spec shapes of D10/D11 (docs/adr/0090). No compatibility aliases.
Renames (D3): sys_role→sys_position (+assignment/binding tables and
fields), RoleSchema→PositionSchema (flat, parent removed),
ctx.roles→ctx.positions, current_user.roles→current_user.positions
(formula validators, RLS docs, CEL examples), stack roles:→positions:,
metadata kinds role/profile→position. better-auth boundary untouched
(sys_member.role, additionalOrgRoles, org_membership_level).
Profile removal (D2): isProfile deleted from PermissionSetSchema and all
fixtures; isDefault narrowed to an install-time suggestion;
appDefaultProfileName→appDefaultPermissionSetName (isDefault-only).
OWD (D1/D4/D11): enum reduced to the canonical four; custom objects with
an owner field and no sharingModel now resolve PRIVATE (fail-closed for
unrecognised stored values; system objects keep the public fall-through);
new optional externalSharingModel field (external ≤ internal, P1 shape).
Regression tests pin the objectui#2348 incident shape (unset OWD + C/R/U
grant must not read others' records).
Principal taxonomy (D10, shape only): principalKind/audience/onBehalfOf
on ExecutionContext.
Sharing recipients: 'role'→'position' expanded via sys_user_position ∪
the membership transition source; 'role_and_subordinates' removed —
'unit_and_subordinates' expands the BU subtree (ADR-0057 D5 re-homing,
replacing the walk over a parent column that never existed).
Translations patched in place per generated-file contract; conformance
matrix row updated.
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_012oLzaP8n7A3YKFmgaHWC8H
0 commit comments