From 2855e091f77f73881110659f5e6a83214c45961d Mon Sep 17 00:00:00 2001 From: Scott Idem Date: Tue, 19 May 2026 15:22:20 -0400 Subject: [PATCH] fix(idaa): fix Access Denied on reload in iframe and extend Novi TTL to 25 min MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Add reload_to_origin(): saves initial iframe URL (with ?uuid=) to sessionStorage on mount; all reload buttons use it instead of bare location.reload() so the UUID is preserved after internal SvelteKit navigation strips it from the URL - Fix TTL short-circuit to also check $ae_loc permissions — without this, a store reset (browser restart, stale localStorage) while the TTL was still valid would skip re-verification and fall straight to Access Denied - Extend Novi verification TTL from 5 to 25 minutes - Add Clear Cache & Reload option to the Access Denied state (iframe mode) - Move Novi UUID debug info on Access Denied page to edit_mode only; UUID line at bottom of auth'd pages stays always visible for troubleshooting - Remove expired temporary tech-notice variables (template block was already commented out) Co-Authored-By: Claude Sonnet 4.6 --- src/routes/idaa/(idaa)/+layout.svelte | 151 ++++++++++++++++---------- 1 file changed, 95 insertions(+), 56 deletions(-) diff --git a/src/routes/idaa/(idaa)/+layout.svelte b/src/routes/idaa/(idaa)/+layout.svelte index 77825351..ea6d374c 100644 --- a/src/routes/idaa/(idaa)/+layout.svelte +++ b/src/routes/idaa/(idaa)/+layout.svelte @@ -1,5 +1,5 @@