forked from open-webui/open-webui
feat: add ALLOW_ADMIN_EXPORT to disable exporting of chats and the db
This commit is contained in:
parent
1e76dbc9a0
commit
190b934ab5
6 changed files with 44 additions and 25 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue