feat: public sharing permissions

Co-Authored-By: Taylor Wilsdon <6508528+taylorwilsdon@users.noreply.github.com>
This commit is contained in:
Timothy Jaeryang Baek
2025-03-31 17:28:25 -07:00
co-authored by Taylor Wilsdon
parent 50b3f47f81
commit 580965df17
7 changed files with 57 additions and 9 deletions
@@ -8,6 +8,7 @@
export let show = false;
export let accessControl = null;
export let accessRoles = ['read'];
export let allowPublic = true;
export let onChange = () => {};
</script>
@@ -38,7 +39,7 @@
</div>
<div class="w-full px-5 pb-4 dark:text-white">
<AccessControl bind:accessControl {onChange} {accessRoles} />
<AccessControl bind:accessControl {onChange} {accessRoles} {allowPublic} />
</div>
</div>
</Modal>