Découplage instance : realm centralisé + vars génériques

Fin des dernières poches de 'codé en dur' liées à l'instance d'origine :
- realm SSO centralisé sur l'intrant identite_realm (defaut chezlepro,
  retro-compatible) ; les 4 rôles (keycloak/forgejo/grafana/oauth2_proxy)
  en dérivent. Expose dans la GUI (panneau Intrants).
- vars brandees renommees generiques : chezlepro_timezone -> fuseau_horaire,
  chezlepro_organisation -> organisation (chrony, openldap, GUI, docs).

Aucune reference fonctionnelle aux anciens noms. Le moteur ne porte plus le
nom d'un tenant. Technolibre a son propre realm (technolibre).

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
Daniel Allaire 2026-07-05 00:47:44 -04:00
parent 5108a6c04d
commit 867e2f8cdc
10 changed files with 15 additions and 14 deletions

View file

@ -78,8 +78,9 @@ FICHIERS_INTRANTS = {"identite": INTRANTS_IDENTITE, "proxmox": INTRANTS_PROXMOX}
# (variable, fichier, classe, section, libelle, type)
INTRANTS_SCHEMA = [
("domaine_interne", "identite", "constante", "Identité", "Domaine DNS interne", "str"),
("chezlepro_timezone", "identite", "defaut", "Identité", "Fuseau horaire", "str"),
("chezlepro_organisation", "identite", "defaut", "Identité", "Organisation (annuaire LDAP, certificats)", "str"),
("fuseau_horaire", "identite", "defaut", "Identité", "Fuseau horaire", "str"),
("organisation", "identite", "defaut", "Identité", "Organisation (annuaire LDAP, certificats)", "str"),
("identite_realm", "identite", "defaut", "Identité", "Realm SSO (Keycloak)", "str"),
("proxmox_api_host", "proxmox", "constante", "Proxmox", "Hôte API Proxmox", "str"),
("proxmox_api_user", "proxmox", "constante", "Proxmox", "Utilisateur API", "str"),
("proxmox_api_port", "proxmox", "constante", "Proxmox", "Port API", "str"),