MotorSignal-App/website/components/founder-portal
Developer c014c2f04f fix(website): stop club rank matrix from faking a permission save (WEB-W1)
The Ranks & Roles "Operational Permission Matrix" previously waited ~400ms and
showed a "Saved" state without persisting anything. No Firestore document, API
route, or security rule stores or enforces a per-rank capability matrix; club
authorization is role-based (Owner/Admin via getPortalPermissions). Persisting
the matrix would require frozen security-rule changes and would create an
unenforced permission model that misleads owners.

Make the control truthful instead of faking success:
- Render the matrix as a read-only reference of the standard governance model
  by default (persistenceAvailable=false): no Save/Reset controls, disabled
  toggles, a "View-only reference" indicator, and a notice stating that access
  is enforced by Owner/Admin roles and per-rank customization is planned.
- Remove the fake setTimeout save handler and the unconditional success state.
- Retain a forward-compatible editable path behind persistenceAvailable for
  when a backend contract ships.
- Document the precise backend contract required to enable persistence.

Tests: read-only matrix renders no Save control, reports no save, and does not
mutate permissions even for Owner/Admin; editable path still fires toggle/save
/reset when persistenceAvailable=true.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-10-14 11:20:29 -04:00
..
attention-card.tsx feat(website): add club moderation, stats, and group rides management 2026-10-02 11:07:44 -04:00
club-activity-list.tsx feat(clubs): add public syndicates directory, club discovery, and founder management portal 2026-09-18 18:35:21 -04:00
club-hierarchy-builder.tsx feat(mobile): add community social feed, tactical layers, club wall, launch curves, and curvy routes (v1.0.2+102) 2026-09-29 11:50:48 -04:00
club-masthead.tsx fix(web): repair clubs management experience 2026-09-20 02:02:22 -04:00
club-permission-matrix.tsx fix(website): stop club rank matrix from faking a permission save (WEB-W1) 2026-10-14 11:20:29 -04:00
club-ride-card.tsx feat(web): add clubs rides management (#9) 2026-09-20 07:23:00 -04:00
community-dialog.tsx feat: add club members and wall management 2026-10-01 08:31:45 -04:00
empty-state.tsx feat(clubs): add public syndicates directory, club discovery, and founder management portal 2026-09-18 18:35:21 -04:00
founder-applications.tsx fix(website): normalize founder portal page widths across profile, applications, and ranks (#12) 2026-09-20 13:46:58 -04:00
founder-chat.tsx feat(website): add club curated routes, live squad chat, and portal navigation 2026-10-02 12:39:38 -04:00
founder-community-page.tsx feat(website): add club curated routes, live squad chat, and portal navigation 2026-10-02 12:39:38 -04:00
founder-members.tsx feat: add club members and wall management 2026-10-01 08:31:45 -04:00
founder-moderation-page.tsx feat(website): add club moderation, stats, and group rides management 2026-10-02 11:07:44 -04:00
founder-overview.tsx fix(web): repair clubs management experience 2026-09-20 02:02:22 -04:00
founder-portal-shell.tsx fix: open club updates from the notification bell 2026-10-01 08:32:06 -04:00
founder-profile-editor.tsx fix(website): normalize founder portal page widths across profile, applications, and ranks (#12) 2026-09-20 13:46:58 -04:00
founder-rides.tsx feat(website): add Group Rides Hub navigation links for authenticated riders 2026-09-25 15:35:55 -04:00
founder-routes.tsx feat(website): add club curated routes, live squad chat, and portal navigation 2026-10-02 12:39:38 -04:00
founder-settings-editor.tsx fix(web): repair clubs management experience 2026-09-20 02:02:22 -04:00
founder-sidebar.tsx feat(website): add club curated routes, live squad chat, and portal navigation 2026-10-02 12:39:38 -04:00
founder-stats-page.tsx feat(website): add club moderation, stats, and group rides management 2026-10-02 11:07:44 -04:00
founder-top-bar.tsx feat(website): add club curated routes, live squad chat, and portal navigation 2026-10-02 12:39:38 -04:00
founder-wall.tsx feat: add club members and wall management 2026-10-01 08:31:45 -04:00
metric-card.tsx fix(web): repair clubs management experience 2026-09-20 02:02:22 -04:00
roles-and-ranks-summary.tsx feat(clubs): add public syndicates directory, club discovery, and founder management portal 2026-09-18 18:35:21 -04:00
safe-error-state.tsx feat(clubs): add public syndicates directory, club discovery, and founder management portal 2026-09-18 18:35:21 -04:00
skeleton-state.tsx feat(clubs): add public syndicates directory, club discovery, and founder management portal 2026-09-18 18:35:21 -04:00
types.ts feat(mobile): add community social feed, tactical layers, club wall, launch curves, and curvy routes (v1.0.2+102) 2026-09-29 11:50:48 -04:00