feat/enh: user sharing perms

This commit is contained in:
Timothy Jaeryang Baek committed 2025-11-20 18:32:34 -05:00
1 parent 849278ca4f
commit f69e37a850
11 files changed
+297 -144

No files matched your search

@@ -83,7 +83,8 @@
bind:show={showAccessControlModal}
bind:accessControl
accessRoles={['read', 'write']}
allowPublic={$user?.permissions?.sharing?.public_prompts || $user?.role === 'admin'}
share={$user?.permissions?.sharing?.prompts || $user?.role === 'admin'}
sharePublic={$user?.permissions?.sharing?.public_prompts || $user?.role === 'admin'}
/>
<div class="w-full max-h-full flex justify-center">