+ {
+ autoAddConfirmCallback = undefined
+ }}
+ on:confirmed={() => {
+ if (autoAddConfirmCallback) {
+ autoAddConfirmCallback()
+ }
+ autoAddConfirmCallback = undefined
+ }}
+ >
+ Are you sure you want to enable auto-add?
+ Anyone added to the instance will automatically join this workspace.
+
+
+
+
+ {
+ autoInviteDisableConfirmCallback = undefined
+ }}
+ on:confirmed={() => {
+ if (autoInviteDisableConfirmCallback) {
+ autoInviteDisableConfirmCallback()
+ }
+ autoInviteDisableConfirmCallback = undefined
+ }}
+ >
+ Are you sure you want to disable auto-invite? Auto-invite is a legacy feature. After disabling,
+ it will no longer be available for this workspace. You will only be able to use auto-add.
+ Anyone added to the instance will automatically join this workspace.
+
+
+
+
+ {
+ switchToAutoAddConfirmCallback = undefined
+ }}
+ on:confirmed={() => {
+ if (switchToAutoAddConfirmCallback) {
+ switchToAutoAddConfirmCallback()
+ }
+ switchToAutoAddConfirmCallback = undefined
+ }}
+ >
+ Are you sure you want to switch from auto-invite to auto-add?
+ Auto-invite is a legacy feature. After switching to auto-add, auto-invite will no longer be available
+ for this workspace.
+ With auto-add, anyone added to the instance will automatically join this workspace without needing
+ to accept an invitation.
+
+
diff --git a/frontend/src/lib/components/workspaceSettings/CreateWorkspace.svelte b/frontend/src/lib/components/workspaceSettings/CreateWorkspace.svelte
index 684cd7f9b4..4fd5fdaa6e 100644
--- a/frontend/src/lib/components/workspaceSettings/CreateWorkspace.svelte
+++ b/frontend/src/lib/components/workspaceSettings/CreateWorkspace.svelte
@@ -327,7 +327,7 @@
let auto_invite = $state(false)
let operatorOnly = $state(false)
- let autoAdd = $state(false)
+ let autoAdd = $state(true)
let selected: Exclude = $state('openai')
run(() => {
id = name.toLowerCase().replace(/\s/gi, '-')
@@ -541,8 +541,8 @@