enh: system prompt user permission
This commit is contained in:
@@ -65,6 +65,7 @@
|
||||
},
|
||||
chat: {
|
||||
controls: true,
|
||||
system_prompt: true,
|
||||
file_upload: true,
|
||||
delete: true,
|
||||
edit: true,
|
||||
|
||||
@@ -263,6 +263,14 @@
|
||||
<Switch bind:state={permissions.chat.controls} />
|
||||
</div>
|
||||
|
||||
<div class=" flex w-full justify-between my-2 pr-2">
|
||||
<div class=" self-center text-xs font-medium">
|
||||
{$i18n.t('Allow Chat System Prompt')}
|
||||
</div>
|
||||
|
||||
<Switch bind:state={permissions.chat.system_prompt} />
|
||||
</div>
|
||||
|
||||
<div class=" flex w-full justify-between my-2 pr-2">
|
||||
<div class=" self-center text-xs font-medium">
|
||||
{$i18n.t('Allow Chat Delete')}
|
||||
|
||||
Reference in New Issue
Block a user