docs(reconcile): declare disabled users out of scope for the PlatformUser kind - #1891
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
|
Warning Review limit reached
Next review available in: 38 minutes Limit details: You’ve used all 2 included reviews currently available. You've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository. How can I continue?After more reviews become available, a review can be triggered using the To avoid repeated limits, reduce automatic review volume by pausing incremental auto-reviews earlier, using label-based review opt-in, excluding WIP or generated PR titles, or requesting reviews manually when the PR is ready. If your team needs uninterrupted high-volume reviews, an organization admin can enable usage-based reviews. How do review limits work?CodeRabbit enforces per-developer PR review limits within each organization. For paid Pro and Pro+ reviews, CodeRabbit uses a developer's included PR review attempts over the past 7 days to set the current hourly allowance. At typical activity levels, the full plan allowance applies. Higher sustained activity can lower the allowance until earlier attempts leave the 7-day window. Please refer docs for additional details. Review details⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: CHILL Plan: Pro Plus Run ID: 📒 Files selected for processing (2)
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. Comment |
Coverage Report for CI Build 32239373931Coverage remained the same at 48.807%Details
Uncovered ChangesNo uncovered changes found. Coverage RegressionsNo coverage regressions found. Coverage Stats
💛 - Coveralls |
|
Review: declare disabled principals out of scope for PlatformUser Verified on this branch: For user principals, which is the reachable case, the doc is exactly right. Disabled users are filtered by Verdict: approve with nits. Nits:
|
df70845 to
75aa967
Compare
e70b648 to
345417c
Compare
|
Follow-up on the nits.
|
|
Re-review (head 345417c) Build and tests are green. The over-generalization is fixed. The note now scopes the guarantee to users and correctly adds that service users cannot be disabled today, so they are always listed. Every claim checks out against the code: One optional consistency nit: the Verdict: approve with nits. |
4648a87 to
ea6d8fd
Compare
75aa967 to
6f72be1
Compare
6f72be1 to
6f632cd
Compare
ea6d8fd to
b720e4a
Compare
b720e4a to
688963e
Compare
5c1f51f to
10ce276
Compare
688963e to
331a656
Compare
What
A disabled user does not appear in the platform-user listing the reconciler reads (the store query filters out disabled accounts), so the reconciler cannot see or manage their platform access. This documents that disabled principals are out of scope, both in the reconcile docs and as a comment on
fetchCurrent.No behavior change.
Why
This makes the existing behavior explicit so operators do not list a disabled principal and expect it to reconcile. A disabled admin is not exported and an empty file does not remove their grant. Re-enable the user first to manage their access.
Stack
Stacked on
fix/reconcile-billingproduct-r2.