mirror of
https://github.com/open-webui/open-webui
synced 2025-06-26 18:26:48 +00:00
feat: add ALLOW_ADMIN_EXPORT to disable exporting of chats and the db
This commit is contained in:
@@ -301,7 +301,7 @@
|
||||
</button>
|
||||
{/if}
|
||||
|
||||
{#if $user?.role === 'admin'}
|
||||
{#if $user?.role === 'admin' && ($config?.allow_admin_export ?? true)}
|
||||
<hr class=" dark:border-gray-700" />
|
||||
|
||||
<button
|
||||
|
||||
Reference in New Issue
Block a user