Migrate access identity projection to identity.directory #2

Closed
opened 2026-07-10 11:01:17 +02:00 by zemion · 2 comments
Owner

Move access from owning canonical identity/account-link storage to consuming the identity capability.

Acceptance criteria:

  • Access identity reads go through identity.directory where the identity module is installed.
  • Existing access_identities and access_identity_account_links remain as compatibility/projection tables only during rollout.
  • A migration/backfill plan exists for current deployments.
  • Tests prove access works with the canonical identity module installed and with the transition projection still present.
Move access from owning canonical identity/account-link storage to consuming the identity capability. Acceptance criteria: - Access identity reads go through `identity.directory` where the identity module is installed. - Existing `access_identities` and `access_identity_account_links` remain as compatibility/projection tables only during rollout. - A migration/backfill plan exists for current deployments. - Tests prove access works with the canonical identity module installed and with the transition projection still present.
Author
Owner

Codex State: progress

Summary

  • Identity provides the identity.directory capability and its own canonical identity/account-link storage.
  • Access has not yet been refit to consume identity.directory; it still resolves identity_id through access-owned access_identities/access_identity_account_links compatibility tables.

Next / Blocked

  • Implement optional identity.directory consumption in access principal building, access semantic directory identity reads, and tests covering identity installed plus projection fallback.
  • Add a migration/backfill/retirement plan for access_identities and access_identity_account_links before closing.

Suggested status label: status/in-progress

## Codex State: progress ### Summary - Identity provides the identity.directory capability and its own canonical identity/account-link storage. - Access has not yet been refit to consume identity.directory; it still resolves identity_id through access-owned access_identities/access_identity_account_links compatibility tables. ### Next / Blocked - Implement optional identity.directory consumption in access principal building, access semantic directory identity reads, and tests covering identity installed plus projection fallback. - Add a migration/backfill/retirement plan for access_identities and access_identity_account_links before closing. Suggested status label: `status/in-progress`
Author
Owner

Codex State: done

Summary

  • Access now prefers identity.directory for account-to-identity resolution, semantic directory identity rendering, auth /me identity IDs, and access explanation provenance when Identity is installed.
  • The legacy Access identity projection remains a readable fallback for transition deployments without the Identity capability.
  • Migration/backfill plan and close-out conditions are documented in docs/IDENTITY_MODEL.md.

Changed Files

  • govoplan-access@002d12e
  • govoplan-core@edb4687
  • govoplan-identity@c0afbc9

Verification

  • python -m unittest tests.test_identity_organization_contracts tests.test_access_contracts.AccessContractTests: OK
  • python -m unittest tests.test_organizations_api tests.test_idm_api tests.test_identity_api: OK
## Codex State: done ### Summary - Access now prefers identity.directory for account-to-identity resolution, semantic directory identity rendering, auth /me identity IDs, and access explanation provenance when Identity is installed. - The legacy Access identity projection remains a readable fallback for transition deployments without the Identity capability. - Migration/backfill plan and close-out conditions are documented in docs/IDENTITY_MODEL.md. ### Changed Files - `govoplan-access@002d12e` - `govoplan-core@edb4687` - `govoplan-identity@c0afbc9` ### Verification - `python -m unittest tests.test_identity_organization_contracts tests.test_access_contracts.AccessContractTests: OK` - `python -m unittest tests.test_organizations_api tests.test_idm_api tests.test_identity_api: OK`
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: add-ideas/govoplan-identity#2
No description provided.