[dev] [Marfuen] mariano/fix-portal-active-org-sync#2468
Conversation
Multi-org users hitting the portal would get 403s on training completion and other API calls because HybridAuthGuard resolves memberId from the session's activeOrganizationId — which was never updated when the user navigated to a different org in the portal. Adds setActiveOrganization to the portal auth module and a [orgId] layout that syncs the session before any child page renders, matching the pattern already used in the main app. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
PR SummaryMedium Risk Overview Adds a new server-side Reviewed by Cursor Bugbot for commit 5e9db82. Bugbot is set up for automated code reviews on this repo. Configure here. |
# [3.17.0](v3.16.2...v3.17.0) (2026-04-07) ### Bug Fixes * **ci:** pin bun version in trigger workflows and regenerate lockfile ([4650bd9](4650bd9)) * **ci:** pin bun version in trigger workflows and regenerate lockfile ([#2478](#2478)) ([3574357](3574357)) * **documents:** allow CSV and Excel file uploads for evidence forms ([52bb3f6](52bb3f6)) * **documents:** fix RBAC schema, matrix validation, and step 3 MIME mapper ([c440317](c440317)) * **documents:** fix TS strict index access on matrix row ([77d71bd](77d71bd)) * **documents:** use lenient row schema so file upload bypasses row validation ([f06febb](f06febb)) * **documents:** use original row index for validation error paths ([7ded778](7ded778)) * **google-workspace:** clarify that email filter variables apply to checks too, not just sync ([cb0e6af](cb0e6af)) * **notifications:** dont send task reminders to employees ([5a90324](5a90324)) * **portal:** sync activeOrganizationId when navigating between orgs ([#2468](#2468)) ([e1b29a5](e1b29a5)) ### Features * **trigger:** add org tags to all trigger job runs ([#2476](#2476)) ([b3d26e7](b3d26e7))
|
🎉 This PR is included in version 3.17.0 🎉 The release is available on GitHub release Your semantic-release bot 📦🚀 |
This is an automated pull request to merge mariano/fix-portal-active-org-sync into dev.
It was created by the [Auto Pull Request] action.