mirror of
https://github.com/open-webui/open-webui.git
synced 2026-07-16 14:39:31 -05:00
issue: Even admin users cannot generate share links when chat sharing is disabled by default #5637
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 @zolgear on GitHub (Jun 25, 2025).
Originally assigned to: @tjbck on GitHub.
Check Existing Issues
Installation Method
Docker
Open WebUI Version
v0.6.15
Ollama Version (if applicable)
No response
Operating System
Ubuntu 24.04
Browser (if applicable)
Chrome 130.0.6683.2
Confirmation
README.md.Expected Behavior
Admin users should always be able to generate shared chat links, even when the default permission disables chat sharing for normal users.
Actual Behavior
Admin users also get
401 Unauthorizederror and cannot share chats.Steps to Reproduce
401 Unauthorizedis returned, and link generation fails.Logs & Screenshots
Request URL:
https://xxxx.xxxxxxx.com/api/v1/chats/----******/share
Request method:
POST
Status Code:
401 Unauthorized
Additional Information
When chat sharing is disabled by default in the permissions settings, even users with the Admin role cannot generate share links. This seems to be a bug, because administrators should be able to share chats regardless of default permission settings.
If any permission setting disables chat sharing, the restriction should not apply to Admins.
@zolgear commented on GitHub (Jul 16, 2025):
Fixed in v0.6.16.
Thanks!