{ deleteUserHandler(selectedUser.id); }} /> {#key selectedUser} { users = await getUsers(localStorage.token); }} /> {/key} { users = await getUsers(localStorage.token); }} /> {#if ($config?.license_metadata?.seats ?? null) !== null && users.length > $config?.license_metadata?.seats}
{/if}
{$i18n.t('Users')}
{#if ($config?.license_metadata?.seats ?? null) !== null} {#if users.length > $config?.license_metadata?.seats} {users.length} of {$config?.license_metadata?.seats} available users {:else} {users.length} of {$config?.license_metadata?.seats} available users {/if} {:else} {users.length} {/if}
{#each filteredUsers as user, userIdx} {/each}
setSortKey('role')} >
{$i18n.t('Role')} {#if sortKey === 'role'} {#if sortOrder === 'asc'} {:else} {/if} {:else} {/if}
setSortKey('name')} >
{$i18n.t('Name')} {#if sortKey === 'name'} {#if sortOrder === 'asc'} {:else} {/if} {:else} {/if}
setSortKey('email')} >
{$i18n.t('Email')} {#if sortKey === 'email'} {#if sortOrder === 'asc'} {:else} {/if} {:else} {/if}
setSortKey('last_active_at')} >
{$i18n.t('Last Active')} {#if sortKey === 'last_active_at'} {#if sortOrder === 'asc'} {:else} {/if} {:else} {/if}
setSortKey('created_at')} >
{$i18n.t('Created at')} {#if sortKey === 'created_at'} {#if sortOrder === 'asc'} {:else} {/if} {:else} {/if}
setSortKey('oauth_sub')} >
{$i18n.t('OAuth ID')} {#if sortKey === 'oauth_sub'} {#if sortOrder === 'asc'} {:else} {/if} {:else} {/if}
user
{user.name}
{user.email} {dayjs(user.last_active_at * 1000).fromNow()} {dayjs(user.created_at * 1000).format('LL')} {user.oauth_sub ?? ''}
{#if $config.features.enable_admin_chat_access && user.role !== 'admin'} {/if} {#if user.role !== 'admin'} {/if}
β“˜ {$i18n.t("Click on the user role button to change a user's role.")}
{#if !$config?.license_metadata} {#if users.length > 50}
[!NOTE] > # **Hey there! πŸ‘‹** > > It looks like you have over 50 users β€” that usually falls under organizational usage. > > Open WebUI is proudly open source and completely free, with no hidden limits β€” and we'd love to keep it that way. 🌱 > > By supporting the project through sponsorship or an enterprise license, you’re not only helping us stay independent, you’re also helping us ship new features faster, improve stability, and grow the project for the long haul. With an *enterprise license*, you also get additional perks like dedicated support, customization options, and more β€” all at a fraction of what it would cost to build and maintain internally. > > Your support helps us stay independent and continue building great tools for everyone. πŸ’› > > - πŸ‘‰ **[Click here to learn more about enterprise licensing](https://docs.openwebui.com/enterprise)** > - πŸ‘‰ *[Click here to sponsor the project on GitHub](https://github.com/sponsors/tjbck)* `} />
{/if} {/if}