mirror of
https://github.com/open-webui/open-webui.git
synced 2026-05-05 18:38:17 -05:00
[GH-ISSUE #21544] feat: Add option to disable or restrict "Analytics/Analyse" dashboard for GDPR compliance #58179
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @sct-hm on GitHub (Feb 17, 2026).
Original GitHub issue: https://github.com/open-webui/open-webui/issues/21544
Check Existing Issues
Verify Feature Scope
Problem Description
Problem / Background
After upgrading to newer OpenWebUI versions (e.g. v0.8.3), the new Analytics (Analyse) feature provides a dashboard that shows all models and associated chats in one place.
In environments with multiple users and/or regulated requirements (e.g. EU), this is problematic from a GDPR / privacy-by-default perspective. Even if the page is intended to be admin-only, many organizations:
Actual behavior
Analytics dashboard is present and (from the UI) appears to aggregate and display model usage and related chats across the instance, which can conflict with GDPR/compliance expectations.
Why this matters (GDPR / compliance)
Version
Additional context
If there is already a way to disable this feature (env var, config flag, permission), please document it clearly in the docs and release notes.
Thanks!
Desired Solution you'd like
Expected behavior
Provide a documented, explicit configuration to disable Analytics entirely and/or limit it to privacy-safe aggregates.
Requested options (any of the following would help)
Hard disable switch
DISABLE_ANALYTICS=trueorENABLE_ANALYTICS=falseScope Analytics by user / tenant
Aggregation-only mode
Alternatives Considered
No response
Additional Context
No response
@Classic298 commented on GitHub (Feb 17, 2026):
Could you clarify what exactly about the Analytics dashboard needs to be hidden, and what specific GDPR obligation you believe it triggers?
Looking at the arguments listed:
Data minimization doesn't apply here. The data already exists. Open WebUI already logs it. From a legal standpoint, hiding the Analytics dashboard doesn't change anything. You are already processing the data, and are already under GDPR as-is. The dashboard itself doesn't change that.
And "Data minimization" doesn't fit for a couple of reasons:
Least privilege is also not the right framing here. It is well established in the docs and our security guidelines that an admin can do absolutely everything. If you don't want the admin to see chats, turn off the env var that allows access to the user's chats. If you don't want the admin to be able to export the database, there's an env var for that too. Same for the BYPASS ADMIN ACCESS CONTROL env var for models, prompts, and knowledge bases. As an admin, you can already tinker with models, connections, RAG settings, export all configuration options, edit a user's password, see the user's email, profile picture, oauth, name, and their full profile.
To clarify what the Analytics dashboard actually shows: you do not get access to chat content, as claimed in your issue. And you don't get access to per-chat metadata either. It is aggregated metadata over all chats of a user, and separately, data over how much a model is being used across the instance. So there's no single-chat metadata, no chat content and for chat content access specifically, there's already an env var to disable that.
Defense in depth
It's not clear how adding a toggle to disable the Analytics dashboard, where nothing is configurable, lowers misconfiguration risk. And even if it did, defense in depth is about layered security controls, not about hiding a read-only analytics view.
As a side note: 2 out of the 3 reasons listed aren't actually GDPR-related arguments, least privilege and defense in depth are general security principles.
@Classic298 commented on GitHub (Feb 17, 2026):
I'm genuinely curious if there's a concrete reason the dashboard needs to be hidden, because if there isn't, it would be preferable to avoid adding yet another configuration option for something that isn't required for neither security nor legal compliance.
The data is there either way.
Get it via the API endpoints - or - query it with a simple, single, small SQL query or have it be displayed in the admin panel. Legally, nothing changes. For security purposes - nothing changes as far as i can tell.
@Classic298 commented on GitHub (Feb 17, 2026):
This is already the case if you disabled https://docs.openwebui.com/reference/env-configuration#enable_admin_chat_access (which i assume you did?) - if this is disabled, no chats, no chat titles, no message excerpts, nothing of this is visible.