Repository navigation
docs(bedside): BA-W01 identity, membership and authorization contract - #11749
Conversation
|
Warning Review limit reachedYou've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository. Next included review available in 21 minutes. View limit details
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. |
Codex Review Summary: ✅ CompletedThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: c28b1501d9
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
| - Enforcement is switched per surface. Disabling enforcement for one surface must not disable | ||
| others. |
There was a problem hiding this comment.
Preserve policy enforcement when rolling back a surface
If a store already contains item-level denies, disabling enforcement on search, history, or exports exposes those records through that surface even when all other surfaces remain protected. This rollback procedure contradicts the existing rollback contract in pkgs/bedside-and-away/design/identity-access.md, which requires retaining policy enforcement or freezing affected stores. Restrict per-surface rollback to a previously enforcing implementation, or make the affected surface unavailable rather than bypassing authorization.
Useful? React with 👍 / 👎.
Closes the first step of #9365 (BA-W01): component contract, requirement mapping, negative-test plan, and leaf split for identity, store membership, roles, invitations, guest claim, policy evaluation and enforcement surfaces.
Scope ledger rows: BA-003, BA-043 to BA-046, BA-078 to BA-089. Every row maps to a contract clause or an explicit gap (section 7). External gates (provider setup, account-link proofs, open-audience definition) are named on the gated leaves.
Docs only. No implementation, no vault or credential changes.
Leaves L1-L8 are listed in section 10 and filed as issues linked from #9365 in a follow-up comment.
Queue task 20384 (repo-worker-code, openchamber scheduled lane any-o).
Open in [code]smith · Need help on this PR? Tag
@codesmith-botwith what you need.