From bb27942b52867d8e9b0f6f2d45d439594a79ffaf Mon Sep 17 00:00:00 2001 From: Scott Idem Date: Wed, 2 Oct 2024 18:21:01 -0400 Subject: [PATCH] Enable more security by default. --- src/routes/idaa/(idaa)/+layout.svelte | 14 +++++++++++++ .../idaa/(idaa)/archives/+layout.svelte | 21 +++++++++++++++++++ src/routes/idaa/(idaa)/archives/+page.svelte | 8 +++++++ 3 files changed, 43 insertions(+) create mode 100644 src/routes/idaa/(idaa)/archives/+layout.svelte create mode 100644 src/routes/idaa/(idaa)/archives/+page.svelte diff --git a/src/routes/idaa/(idaa)/+layout.svelte b/src/routes/idaa/(idaa)/+layout.svelte index e17f74a4..dd03fb36 100644 --- a/src/routes/idaa/(idaa)/+layout.svelte +++ b/src/routes/idaa/(idaa)/+layout.svelte @@ -1,10 +1,24 @@ +{#if ($ae_loc.trusted_access)} +{:else} +
+

+ + + Access Denied + + +

+

You do not have access to this page.

+
+{/if} diff --git a/src/routes/idaa/(idaa)/archives/+layout.svelte b/src/routes/idaa/(idaa)/archives/+layout.svelte new file mode 100644 index 00000000..bb46e5a7 --- /dev/null +++ b/src/routes/idaa/(idaa)/archives/+layout.svelte @@ -0,0 +1,21 @@ + + + + diff --git a/src/routes/idaa/(idaa)/archives/+page.svelte b/src/routes/idaa/(idaa)/archives/+page.svelte new file mode 100644 index 00000000..d91f842f --- /dev/null +++ b/src/routes/idaa/(idaa)/archives/+page.svelte @@ -0,0 +1,8 @@ +