Skip to content

feat: add advisory TPO role verification - #25

Merged
SSVP-debug merged 22 commits into
mainfrom
feature/tpo-role-verification
Sep 26, 2026
Merged

SSVP-debug merged 22 commits into
mainfrom
feature/tpo-role-verification

Conversation

@SSVP-debug

Copy link
Copy Markdown
Owner

Summary

Implements the finalized TPO role-verification architecture without making email patterns an authorization source.

Included

  • College-specific staff/student email-role pattern configuration.
  • Advisory email classification: staff_candidate, student_candidate, ambiguous, unknown.
  • Persisted TPO verification application state and evidence metadata.
  • Immutable TPO verification review records for admin approval/rejection.
  • Admin queue now exposes the email signal and evidence hint.
  • Existing College.primaryTpo / approveTpo flow remains the authorization source of truth.
  • Added focused unit coverage for classification and review schema.
  • Updated API contract documentation.

Security invariant

Email/domain patterns are advisory routing evidence only. TPO privileges still require the existing explicit verification path.

@vercel

vercel Bot commented Sep 26, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
code-club Ready Ready Preview Sep 26, 2026 10:28am UTC

@SSVP-debug
SSVP-debug marked this pull request as ready for review September 26, 2026 10:36
@SSVP-debug
SSVP-debug merged commit f56dd8e into main Sep 26, 2026
4 of 5 checks passed

This branch was successfully deployed

1 active deployment
Preview — a44e493b Deployed Sep 26, 2026 by vercel[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant