feat/enh: user sharing perms

This commit is contained in:
Timothy Jaeryang Baek
2025-11-20 18:32:34 -05:00
parent 849278ca4f
commit f69e37a850
11 changed files with 297 additions and 144 deletions
@@ -9,7 +9,9 @@
export let show = false;
export let accessControl = {};
export let accessRoles = ['read'];
export let allowPublic = true;
export let share = true;
export let sharePublic = true;
export let onChange = () => {};
</script>
@@ -31,7 +33,7 @@
</div>
<div class="w-full px-5 pb-4 dark:text-white">
<AccessControl bind:accessControl {onChange} {accessRoles} {allowPublic} />
<AccessControl bind:accessControl {onChange} {accessRoles} {share} {sharePublic} />
</div>
</div>
</Modal>