396783cd41f5be21cc7e2014472fa435615ce67c
Root cause: InstitutionalDocsController::list() usava requireAuth()+getCurrentOrgId(), ma currentOrgId e' popolato solo da requireOrgAccess() → getCurrentOrgId() = null → l'endpoint rispondeva sempre NO_ORG (400) → loadDocs riceveva standards=[] → la card mostrava solo "Aggiungi voce" (screenshot Simon). L'endpoint NON aveva mai funzionato a runtime. - Backend: list() usa resolveOrgId() (risolve X-Organization-Id senza lanciare) e restituisce SEMPRE le 5 voci standard; i documenti salvati solo se un'org e' selezionata. - Frontend (dashboard.js): render condiviso + STD_FALLBACK → le 5 voci si mostrano sempre, anche se l'API fallisce. Buster dashboard.js 20260825. - Backend attivato via reload php-fpm host. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Description
NIS2 Agile - Piattaforma SaaS per compliance NIS2 (EU 2022/2555)
42 MiB
Languages
HTML
46.2%
PHP
38.8%
JavaScript
12.6%
CSS
1.9%
Python
0.5%