refac: access controls

This commit is contained in:
Timothy Jaeryang Baek
2025-01-20 23:20:47 -08:00
parent aa442f694b
commit 45f4bc18f8
8 changed files with 59 additions and 20 deletions

View File

@@ -179,7 +179,11 @@ class Tools:
};
</script>
<AccessControlModal bind:show={showAccessControlModal} bind:accessControl />
<AccessControlModal
bind:show={showAccessControlModal}
bind:accessControl
accessRoles={['read', 'write']}
/>
<div class=" flex flex-col justify-between w-full overflow-y-auto h-full">
<div class="mx-auto w-full md:px-0 h-full">