|
All checks were successful
CI / Lint, typecheck, test (pull_request) Successful in 6m55s
CI / Build container images (pull_request) Successful in 3m0s
CI / Auth e2e pack (pull_request) Successful in 8m49s
CI / Import/export fidelity gate (pull_request) Successful in 58s
CD / Build and push images (push) Successful in 21s
CD / Deploy to Test (push) Successful in 14s
CD / Smoke tests against Test (push) Successful in 1m19s
CD / Promote to Int (push) Successful in 12s
CI / Lint, typecheck, test (push) Successful in 6m28s
CI / Build container images (push) Has been skipped
CI / Auth e2e pack (push) Successful in 8m15s
CI / Import/export fidelity gate (push) Successful in 59s
Declarative instance setting idpMapping.rules turns ID-token claims into pond roles and the site-admin flag on every OIDC login — configuration, not code. Mapped grants travel through the SAME GrantsService path as manual ones (permission cache invalidated, collab access notify fires so live sessions revalidate — asserted by test), never raw rows. Ownership makes precedence explicit: role_grants.origin marks mapped rows, users.is_site_admin_managed marks a mapping-set admin flag. The mapping only creates and revokes what it owns — manual wins: hand-made grants and hand-promoted admins are never revoked by a missing claim (a manual toggle clears the marker and takes ownership). Removal of a claim revokes the mapped grant and the managed flag on the next login. Every mapping-driven change is audited with origin idp_mapping. Failure containment: unknown pond slugs and the last-Pond-Admin protection log-and-skip — a mapping problem must never become a login lockout. Tests drive real OIDC logins against the fake IdP with group claims: grant + working access, revocation incl. notify, manual-wins, managed site-admin promote/demote/hands-off. Documented in permissions.md (own section), ADR 0021, data-model.md and the hardening guide (care rule: same PR). Refs #217. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01AUtYMxwTCMHG9mVHnwbFg8 |
||
|---|---|---|
| .. | ||
| 20260704171456_init | ||
| 20260704224132_auth_models | ||
| 20260705090100_ponds | ||
| 20260705185146_quotas | ||
| 20260705200714_pages | ||
| 20260708082627_attachments | ||
| 20260708101011_trash_and_jobs | ||
| 20260709060328_collab_open_sessions | ||
| 20260709062007_page_versions | ||
| 20260709062727_page_version_created_by | ||
| 20260709082418_labels | ||
| 20260709104519_page_links | ||
| 20260709111040_search_vector | ||
| 20260709115727_role_grants | ||
| 20260709140000_owner_admin_grants | ||
| 20260710035316_conversion_jobs | ||
| 20260710041215_import_pages_conversion | ||
| 20260710120000_data_export_expiry | ||
| 20260710130000_plugins | ||
| 20260711100000_setup_completed_backfill | ||
| 20260711180000_audit_log_and_job_duration | ||
| 20260711220000_comments | ||
| 20260711230000_watches | ||
| 20260712000000_notifications | ||
| 20260712010000_digest_frequency | ||
| 20260712020000_api_tokens | ||
| 20260714000000_page_hierarchy | ||
| 20260714120000_conversion_job_options | ||
| 20260716000000_page_favorites | ||
| 20260719223755_page_time_filter_indexes | ||
| 20260719224240_feed_tokens | ||
| 20260719232202_page_mentions | ||
| 20260730120000_drop_attachment_deleted_at | ||
| 20260730140000_clear_trashed_search_vectors | ||
| 20260730170000_prune_conversion_job_payloads | ||
| 20260731090000_attachment_sha256 | ||
| 20260731120000_page_classification | ||
| 20260731150000_read_events | ||
| 20260731160000_read_events_dedup | ||
| 20260731170000_read_events_partitioned | ||
| 20260731190000_idp_claim_mapping | ||
| migration_lock.toml | ||