[GH-ISSUE #13026] feat: Allow to disable the number of active users display for non-admin users #32317

Closed
opened 2026-04-25 06:12:52 -05:00 by GiteaMirror · 2 comments
Owner

Originally created by @ntqbit on GitHub (Apr 18, 2025).
Original GitHub issue: https://github.com/open-webui/open-webui/issues/13026

Originally assigned to: @tjbck, @Classic298 on GitHub.

Check Existing Issues

  • I have searched the existing issues and discussions.

Problem Description

Currently, if I am not mistaken, there is no way to disable the display of the number of active users.
That is, all users (including non-admin users) can see the number of currently active users.

As per changelog, the active users indicator was added to allow to track the cause of performance drop due to high usage.

  1. The number of active users only remotely reflects the usage volume. There can be many users "active" (having the tab open in their web browser), but not making any prompts, resulting in low usage despite high number of "active" users. I am assuming here "high usage" to refer to the usage of chat prompts, not just the usage of website.
  2. In some cases, this feature is simply not needed, such as when there are not enough users in total to cause any significant performance drops.
  3. Aside from being reduntant in some cases, the feature also may raise minor privacy concerns.

Desired Solution you'd like

Primarily because of privacy concerns, I would like to have an option in the admin panel that would allow me to disable the display of the number of active users for non-admin users.

Alternatives Considered

No response

Additional Context

No response

Originally created by @ntqbit on GitHub (Apr 18, 2025). Original GitHub issue: https://github.com/open-webui/open-webui/issues/13026 Originally assigned to: @tjbck, @Classic298 on GitHub. ### Check Existing Issues - [x] I have searched the existing issues and discussions. ### Problem Description Currently, if I am not mistaken, there is no way to disable the display of the number of active users. That is, all users (including non-admin users) can see the number of currently active users. As per changelog, the active users indicator was added to allow to track the cause of performance drop due to high usage. 1. The number of active users only remotely reflects the usage volume. There can be many users "active" (having the tab open in their web browser), but not making any prompts, resulting in low usage despite high number of "active" users. I am assuming here "high usage" to refer to the usage of chat prompts, not just the usage of website. 2. In some cases, this feature is simply not needed, such as when there are not enough users in total to cause any significant performance drops. 3. Aside from being reduntant in some cases, the feature also may raise minor privacy concerns. ### Desired Solution you'd like Primarily because of privacy concerns, I would like to have an option in the admin panel that would allow me to disable the display of the number of active users for non-admin users. ### Alternatives Considered _No response_ ### Additional Context _No response_
Author
Owner

@BerkayOzb commented on GitHub (Apr 19, 2025):

src/lib/components/layout/Sidebar/UserMenu.svelte

{#if $activeUserIds?.length > 0 && role === 'admin'}


			<Tooltip
				content={$USAGE_POOL && $USAGE_POOL.length > 0
					? `${$i18n.t('Running')}: ${$USAGE_POOL.join(', ')} ✨`
					: ''}
			>
				<div class="flex rounded-md py-1.5 px-3 text-xs gap-2.5 items-center">
					<div class=" flex items-center">
						<span class="relative flex size-2">
							<span
								class="animate-ping absolute inline-flex h-full w-full rounded-full bg-green-400 opacity-75"
							/>
							<span class="relative inline-flex rounded-full size-2 bg-green-500" />
						</span>
					</div>

					<div class=" ">
						<span class="">
							{$i18n.t('Active Users')}:
						</span>
						<span class=" font-semibold">
							{$activeUserIds?.length}
						</span>
					</div>
				</div>
			</Tooltip>
		{/if}
<!-- gh-comment-id:2816863967 --> @BerkayOzb commented on GitHub (Apr 19, 2025): src/lib/components/layout/Sidebar/UserMenu.svelte {#if $activeUserIds?.length > 0 && role === 'admin'} <hr class=" border-gray-100 dark:border-gray-850 my-1 p-0" /> <Tooltip content={$USAGE_POOL && $USAGE_POOL.length > 0 ? `${$i18n.t('Running')}: ${$USAGE_POOL.join(', ')} ✨` : ''} > <div class="flex rounded-md py-1.5 px-3 text-xs gap-2.5 items-center"> <div class=" flex items-center"> <span class="relative flex size-2"> <span class="animate-ping absolute inline-flex h-full w-full rounded-full bg-green-400 opacity-75" /> <span class="relative inline-flex rounded-full size-2 bg-green-500" /> </span> </div> <div class=" "> <span class=""> {$i18n.t('Active Users')}: </span> <span class=" font-semibold"> {$activeUserIds?.length} </span> </div> </div> </Tooltip> {/if}
Author
Owner

@Classic298 commented on GitHub (Dec 20, 2025):

fixed in dev

<!-- gh-comment-id:3677942936 --> @Classic298 commented on GitHub (Dec 20, 2025): fixed in dev
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/open-webui#32317