MOPC-App/prisma
Matt 829acf8d4e
Build and Push Docker Image / build (push) Successful in 10m11s Details
Add file requirements per round and super admin promotion via UI
Part A: File Requirements per Round
- New FileRequirement model with name, description, accepted MIME types, max size, required flag, sort order
- Added requirementId FK to ProjectFile for linking uploads to requirements
- Backend CRUD (create/update/delete/reorder) in file router with audit logging
- Mime type validation and team member upload authorization in applicant router
- Admin UI: FileRequirementsEditor component in round edit page
- Applicant UI: RequirementUploadSlot/List components in submission detail and team pages
- Viewer UI: RequirementChecklist with fulfillment status in file-viewer

Part B: Super Admin Promotion
- Added SUPER_ADMIN to role enums in user create/update/bulkCreate with guards
- Member detail page: SUPER_ADMIN dropdown option with AlertDialog confirmation
- Invite page: SUPER_ADMIN option visible only to super admins

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-08 23:01:33 +01:00
..
migrations Reconcile schema with migrations and fix failed migration 2026-02-08 14:37:32 +01:00
check-data.ts Remove dynamic form builder and complete RoundProject→roundId migration 2026-02-04 14:15:06 +01:00
cleanup-all-dummy.ts Remove dynamic form builder and complete RoundProject→roundId migration 2026-02-04 14:15:06 +01:00
cleanup-dummy.ts Remove dynamic form builder and complete RoundProject→roundId migration 2026-02-04 14:15:06 +01:00
schema.prisma Add file requirements per round and super admin promotion via UI 2026-02-08 23:01:33 +01:00
seed-candidatures.ts Add dynamic apply wizard customization with admin settings UI 2026-02-08 13:21:26 +01:00
seed-expertise-tags.ts Add unified expertise tag system and round entry notifications 2026-02-04 01:15:21 +01:00
seed-jury-assignments.sql Initial commit: MOPC platform with Docker deployment setup 2026-01-30 13:41:32 +01:00
seed-jury-demo.sql Initial commit: MOPC platform with Docker deployment setup 2026-01-30 13:41:32 +01:00
seed-jury-demo.ts Remove dynamic form builder and complete RoundProject→roundId migration 2026-02-04 14:15:06 +01:00
seed-notification-settings.mjs Add multiple admin improvements and bug fixes 2026-02-03 23:19:45 +01:00
seed-notification-settings.ts Add notification bell system and MOPC onboarding form 2026-02-03 21:30:25 +01:00
seed.ts Update seed: real admin accounts, remove all dummy data 2026-01-30 16:40:07 +01:00
set-admin-pw.sql Initial commit: MOPC platform with Docker deployment setup 2026-01-30 13:41:32 +01:00