- Ajouter ADR-018 (librairies Go) dans TECHNICAL.md - Transformer Shared en menu dépliable dans mkdocs (cohérence avec autres domaines) - Corriger listes markdown (ajout lignes vides avant listes) - Corriger line breaks dans génération BDD (étapes "Et" sur nouvelles lignes) - Ajouter script fix-markdown-lists.sh pour corrections futures Impacte 86 fichiers de documentation et 164 fichiers BDD générés.
44 lines
1.0 KiB
Markdown
44 lines
1.0 KiB
Markdown
# Privacy Policy Versions
|
|
|
|
📖 Versioning politique de confidentialité (Articles 13-14 RGPD)
|
|
|
|
## Diagramme
|
|
|
|
```mermaid
|
|
erDiagram
|
|
PRIVACY_POLICY_VERSIONS ||--o{ USER_POLICY_ACCEPTANCES : "acceptée par"
|
|
USERS ||--o{ USER_POLICY_ACCEPTANCES : "accepte"
|
|
|
|
PRIVACY_POLICY_VERSIONS {
|
|
uuid id PK
|
|
string version "v1.0, v2.0, etc."
|
|
text content_markdown
|
|
boolean major_change
|
|
text changelog
|
|
timestamp effective_date
|
|
timestamp created_at
|
|
}
|
|
|
|
USER_POLICY_ACCEPTANCES {
|
|
uuid id PK
|
|
uuid user_id FK
|
|
uuid policy_version_id FK
|
|
boolean accepted
|
|
timestamp accepted_at
|
|
inet ip_address
|
|
}
|
|
```
|
|
|
|
## Légende
|
|
|
|
**Versioning** :
|
|
|
|
- `major_change`: `true` → popup obligatoire pour tous les utilisateurs
|
|
- `major_change`: `false` → notification simple
|
|
- Fichier source : `docs/legal/politique-confidentialite.md` (versionné Git)
|
|
|
|
**Popup si changement majeur** :
|
|
|
|
- Utilisateur doit accepter nouvelle version pour continuer
|
|
- Refus → compte gelé (lecture seule)
|