Updates to make Journals more secure

This commit is contained in:
Scott Idem
2025-05-02 13:01:49 -04:00
parent 8f515e034b
commit 0b61596833
4 changed files with 134 additions and 190 deletions

View File

@@ -71,6 +71,7 @@ if (browser) {
</svelte:head>
{#if $ae_loc.user_id && $ae_loc.person_id && $ae_loc.trusted_access}
<!-- These are needed: h-full overflow-auto -->
<div class="ae_journals h-full max-h-full overflow-auto flex flex-col gap-1">
@@ -192,3 +193,11 @@ if (browser) {
</section>
</div>
{:else}
<section class="main_content flex-grow px-1 md:px-2 pb-28 flex flex-col gap-1 items-center">
<p class="text-center">
You are not logged in as a user. You must be signed in to access the journals module.
</p>
</section>
{/if}