# Parental Consents 📖 Consentements parentaux pour utilisateurs 13-15 ans (Article 8 RGPD) ## Diagramme ```mermaid erDiagram USERS ||--o{ PARENTAL_CONSENTS : "a" PARENTAL_CONSENTS ||--|| PARENTAL_CONTROLS : "configure" PARENTAL_CONSENTS { uuid id PK uuid user_id FK "Ado 13-15 ans" string parent_email string validation_token boolean validated timestamp token_expires_at timestamp validated_at inet parent_ip string parent_user_agent timestamp revoked_at string revocation_reason } PARENTAL_CONTROLS { uuid id PK uuid parental_consent_id FK boolean gps_enabled boolean messaging_enabled boolean content_16plus_enabled json weekly_digest_config timestamp updated_at } ``` ## Légende **Workflow** : 1. Ado saisit email parent → `validation_token` généré (expire 7j) 2. Parent clique lien → `validated = true` 3. Parent configure `PARENTAL_CONTROLS` 4. Révocation possible → `revoked_at` renseigné **Restrictions par défaut (13-15 ans)** : - `gps_enabled`: `false` (GeoIP uniquement) - `messaging_enabled`: `false` - `content_16plus_enabled`: `false` - Dashboard parent : notifications hebdomadaires activité