x.email + ' ' + x.name + ' ' + x.company} /> {#if isAdminsWorkspaceWithoutEE} The admins workspace is reserved for superadmins. Only users with superadmin privileges can access it. Members cannot be manually added or invited to this workspace. {/if}
{#snippet action()}
{#if !isAdminsWorkspaceWithoutEE} {#snippet trigger()} {/snippet} {#snippet content()}
{#if showAutoInviteToggle}
Mode Whether to invite or add users directly to the workspace.
{ const switchingToAdd = e.detail === 'add' && !autoAdd // If switching from invite to add on non-cloud, show confirmation with warning if (switchingToAdd && isLegacyAutoInvite) { switchToAutoAddConfirmCallback = async () => { autoAdd = true if (autoInviteOrAddEnabled) { await updateAutoInvite(true) } } } else { autoAdd = e.detail === 'add' if (autoInviteOrAddEnabled) { await updateAutoInvite(true) } } }} > {#snippet children({ item })} {/snippet} {#if isLegacyAutoInvite && !autoAdd}
Auto-invite is deprecated. Switching to auto-add will permanently disable auto-invite for this workspace.
{/if}
{/if} Role Role of the auto-added users { operatorOnly = e.detail === 'operator' if (auto_invite_domain != undefined) { await updateAutoInvite(true) } }} > {#snippet children({ item })} {/snippet}
{ const enabling = e.detail if (enabling) { // Non-cloud users without legacy auto-invite: force auto-add mode if (!isCloudHosted() && !isLegacyAutoInvite) { autoAdd = true } // Show confirmation when enabling auto-add if (autoAdd || (!isCloudHosted() && !showAutoInviteToggle)) { autoAddConfirmCallback = async () => { await updateAutoInvite(true) } } else { await updateAutoInvite(true) } } else { // Disabling: show confirmation if currently using auto-invite (legacy) if (isLegacyAutoInvite) { autoInviteDisableConfirmCallback = async () => { await updateAutoInvite(false) } } else { await updateAutoInvite(false) } } }} disabled={isCloudHosted() && !allowedAutoDomain} options={{ right: isCloudHosted() ? `Auto-${displayMode} anyone from ${ autoInviteOrAddEnabled ? auto_invite_domain : domain }` : `Auto-${displayMode} anyone joining the instance` }} />
{#if isCloudHosted() && !allowedAutoDomain}
{domain} domain not allowed for auto-add
{/if}
{/snippet}
{#if instanceGroups.length > 0} {#snippet trigger()} {/snippet} {#snippet content()}
Auto-add instance groups {#if availableGroupItems.length > 0}
Instance group