Admin Portal M1: platform-admin gate (Issue #1254)#342
Conversation
Admin Portal v1, Milestone 1 (platform-admin gate + client can see it) — frontend half. Reads the new is_platform_admin flag from /currentuserv2 so the app can later render the admin entry point and guard. - stores/authStore.ts: add is_platform_admin to the OrgUser interface. - hooks/api/usePermissions.ts: expose isPlatformAdmin from the current org user (defaults to false). No UI yet — the /admin shell, nav link, and AdminGuard land in Milestone 2. Type-checked (tsc --noEmit): no new errors in either file. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
…tier pre-commit hook)
|
@Veekshitha11 is attempting to deploy a commit to the support-9965's projects Team on Vercel. A member of the Team first needs to authorize it. |
|
Warning Review limit reached
Next review available in: 58 minutes Enable usage-based reviews in Billing to review now. Otherwise, wait until the next included review is available. 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 for each organization. Most developers receive the normal plan review availability. For paid Pro and Pro+ PR reviews, CodeRabbit uses adaptive limits for sustained high-volume activity. When a developer's recent PR review activity reaches the 95th percentile or higher among CodeRabbit users, additional reviews become available more gradually as earlier reviews age out of the rolling window. Please refer docs for additional details. Review details⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (3)
✨ Finishing Touches🧪 Generate unit tests (beta)
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 |
Milestone 1 of the Admin Portal plan (features/admin-portal/v1/plan.md) -- backend half. Adds @platform_admin_required guard and surfaces is_platform_admin in /currentuserv2. 5 new tests passing, 54 existing tests unaffected (no regression). No migration needed.