chahinebrini
8e562c982d
feat(backend): MDM-Managed Flag — migration + endpoint + guards
- Prisma migration: users.mdm_managed (Boolean DEFAULT false) + users.mdm_detected_at (DateTime?)
- setMdmManaged() helper in server/db/profile.ts
- POST /api/users/me/mdm-status — App reports MDM status to backend
- cooldown/status + cooldown/request — early-return 400 when mdm_managed
- protection/state — response extended with mdmManaged: boolean
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-26 00:46:44 +02:00
..
2026-05-13 22:21:31 +02:00
2026-05-13 23:55:18 +02:00
2026-05-26 00:46:44 +02:00
2026-05-19 13:34:25 +02:00
2026-05-25 07:11:47 +02:00
2026-05-26 00:46:44 +02:00
2026-05-22 18:42:31 +02:00
2026-05-21 21:21:22 +02:00
2026-05-07 21:14:06 +02:00
2026-05-06 07:13:43 +02:00
2026-05-19 18:32:01 +02:00
2026-05-06 07:13:43 +02:00
2026-05-07 21:14:06 +02:00