Use security invoker for overview endpoint and update last modified by triggers

This commit is contained in:
thiloho
2024-08-07 19:51:29 +02:00
parent fbadbb18a4
commit bcc26322d3
3 changed files with 36 additions and 17 deletions

View File

@@ -50,10 +50,10 @@
</Modal>
</section>
<section>
<h2>All collaborators</h2>
{#if data.collaborators.length > 0}
<section>
<h2>All collaborators</h2>
{#if data.collaborators.length > 0}
{#each data.collaborators as { website_id, user_id, permission_level, user: { username } } (`${website_id}-${user_id}`)}
<article class="collaborator-card">
<h3>{username} ({permission_level})</h3>
@@ -109,8 +109,8 @@
</div>
</article>
{/each}
{/if}
</section>
</section>
{/if}
</WebsiteEditor>
<style>