Users

Manage user accounts for local authentication, SSO, and LDAP.

{#if $canAccess('users', 'create')} {/if}
{#if usersLoading}
{:else if localUsers.length === 0} {:else}
{filteredAndSortedUsers.length} of {localUsers.length} users
{#if $licenseStore.isEnterprise} {/if} {#each filteredAndSortedUsers as user} {@const provider = getProviderInfo(user)} {@const ProviderIcon = provider.icon} {@const visibleRoles = user.roles?.slice(0, MAX_VISIBLE_ROLES) || []} {@const hiddenRolesCount = (user.roles?.length || 0) - MAX_VISIBLE_ROLES} {#if $licenseStore.isEnterprise} {/if} {:else} {/each}
MFARoles
{user.username} {#if !user.isActive} Disabled {/if}
{user.email || '—'} {#if user.mfaEnabled} Enabled {:else} {/if} {#if user.roles && user.roles.length > 0}
{#each visibleRoles as role} {@const RoleIcon = getRoleIcon(role.name)} {role.name} {/each} {#if hiddenRolesCount > 0} +{hiddenRolesCount} more {/if}
{:else} {/if}
{provider.label}
{#if $canAccess('users', 'edit')} {/if} {#if $canAccess('users', 'delete')} deleteLocalUser(user.id)} onOpenChange={(open) => { if (!open) confirmDeleteUserId = null; else confirmDeleteUserId = user.id; }} > {/if}

No users found matching "{searchQuery}"

{/if}
Delete last admin? This is the only admin account. Deleting it will disable authentication and allow anyone to access Dockhand without logging in.