+
+
+ {$i18n.t('Allow File Upload')}
- {/if}
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- {#if permissions.chat.temporary}
-
+ {#if defaultPermissions?.chat?.file_upload && !permissions.chat.file_upload}
+
+
+ ⚠️ {$i18n.t('This permission is enabled for the default "user" role and will remain active.')}
+
{/if}
+
+
+
+
+ {$i18n.t('Allow Chat Controls')}
+
+
+
+ {#if defaultPermissions?.chat?.controls && !permissions.chat.controls}
+
+
+ ⚠️ {$i18n.t('This permission is enabled for the default "user" role and will remain active.')}
+
+
+ {/if}
+
+
+ {#if permissions.chat.controls}
+
+
+
+ {$i18n.t('Allow Chat Valves')}
+
+
+
+ {#if defaultPermissions?.chat?.valves && !permissions.chat.valves}
+
+
+ ⚠️ {$i18n.t('This permission is enabled for the default "user" role and will remain active.')}
+
+
+ {/if}
+
+
+
+
+
+ {$i18n.t('Allow Chat System Prompt')}
+
+
+
+ {#if defaultPermissions?.chat?.system_prompt && !permissions.chat.system_prompt}
+
+
+ ⚠️ {$i18n.t('This permission is enabled for the default "user" role and will remain active.')}
+
+
+ {/if}
+
+
+
+
+
+ {$i18n.t('Allow Chat Params')}
+
+
+
+ {#if defaultPermissions?.chat?.params && !permissions.chat.params}
+
+
+ ⚠️ {$i18n.t('This permission is enabled for the default "user" role and will remain active.')}
+
+
+ {/if}
+
+ {/if}
+
+
+
+
+ {$i18n.t('Allow Chat Edit')}
+
+
+
+ {#if defaultPermissions?.chat?.edit && !permissions.chat.edit}
+
+
+ ⚠️ {$i18n.t('This permission is enabled for the default "user" role and will remain active.')}
+
+
+ {/if}
+
+
+
+
+
+ {$i18n.t('Allow Chat Delete')}
+
+
+
+ {#if defaultPermissions?.chat?.delete && !permissions.chat.delete}
+
+
+ ⚠️ {$i18n.t('This permission is enabled for the default "user" role and will remain active.')}
+
+
+ {/if}
+
+
+
+
+
+ {$i18n.t('Allow Delete Messages')}
+
+
+
+ {#if defaultPermissions?.chat?.delete_message && !permissions.chat.delete_message}
+
+
+ ⚠️ {$i18n.t('This permission is enabled for the default "user" role and will remain active.')}
+
+
+ {/if}
+
+
+
+
+
+ {$i18n.t('Allow Continue Response')}
+
+
+
+ {#if defaultPermissions?.chat?.continue_response && !permissions.chat.continue_response}
+
+
+ ⚠️ {$i18n.t('This permission is enabled for the default "user" role and will remain active.')}
+
+
+ {/if}
+
+
+
+
+
+ {$i18n.t('Allow Regenerate Response')}
+
+
+
+ {#if defaultPermissions?.chat?.regenerate_response && !permissions.chat.regenerate_response}
+
+
+ ⚠️ {$i18n.t('This permission is enabled for the default "user" role and will remain active.')}
+
+
+ {/if}
+
+
+
+
+
+ {$i18n.t('Allow Rate Response')}
+
+
+
+ {#if defaultPermissions?.chat?.rate_response && !permissions.chat.rate_response}
+
+
+ ⚠️ {$i18n.t('This permission is enabled for the default "user" role and will remain active.')}
+
+
+ {/if}
+
+
+
+
+
+ {$i18n.t('Allow Chat Share')}
+
+
+
+ {#if defaultPermissions?.chat?.share && !permissions.chat.share}
+
+
+ ⚠️ {$i18n.t('This permission is enabled for the default "user" role and will remain active.')}
+
+
+ {/if}
+
+
+
+
+
+ {$i18n.t('Allow Chat Export')}
+
+
+
+ {#if defaultPermissions?.chat?.export && !permissions.chat.export}
+
+
+ ⚠️ {$i18n.t('This permission is enabled for the default "user" role and will remain active.')}
+
+
+ {/if}
+
+
+
+
+
+ {$i18n.t('Allow Speech to Text')}
+
+
+
+ {#if defaultPermissions?.chat?.stt && !permissions.chat.stt}
+
+
+ ⚠️ {$i18n.t('This permission is enabled for the default "user" role and will remain active.')}
+
+
+ {/if}
+
+
+
+
+
+ {$i18n.t('Allow Text to Speech')}
+
+
+
+ {#if defaultPermissions?.chat?.tts && !permissions.chat.tts}
+
+
+ ⚠️ {$i18n.t('This permission is enabled for the default "user" role and will remain active.')}
+
+
+ {/if}
+
+
+
+
+
+ {$i18n.t('Allow Call')}
+
+
+
+ {#if defaultPermissions?.chat?.call && !permissions.chat.call}
+
+
+ ⚠️ {$i18n.t('This permission is enabled for the default "user" role and will remain active.')}
+
+
+ {/if}
+
+
+
+
+
+ {$i18n.t('Allow Multiple Models in Chat')}
+
+
+
+ {#if defaultPermissions?.chat?.multiple_models && !permissions.chat.multiple_models}
+
+
+ ⚠️ {$i18n.t('This permission is enabled for the default "user" role and will remain active.')}
+
+
+ {/if}
+
+
+
+
+
+ {$i18n.t('Allow Temporary Chat')}
+
+
+
+ {#if defaultPermissions?.chat?.temporary && !permissions.chat.temporary}
+
+
+ ⚠️ {$i18n.t('This permission is enabled for the default "user" role and will remain active.')}
+
+
+ {/if}
+
+
+ {#if permissions.chat.temporary}
+
+
+
+ {$i18n.t('Enforce Temporary Chat')}
+
+
+
+ {#if defaultPermissions?.chat?.temporary_enforced && !permissions.chat.temporary_enforced}
+
+
+ ⚠️ {$i18n.t('This permission is enabled for the default "user" role and will remain active.')}
+
+
+ {/if}
+
+ {/if}