mirror of
https://github.com/open-webui/open-webui.git
synced 2026-11-27 07:39:20 -05:00
feat: public sharing permissions
Co-Authored-By: Taylor Wilsdon <6508528+taylorwilsdon@users.noreply.github.com>
This commit is contained in:
1 parent
50b3f47f81
commit
580965df17
7 files changed
+57
-9
No files matched your search
@@ -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>
|
||||
Reference in new issue
Block a user