mirror of
https://github.com/open-webui/open-webui.git
synced 2026-11-14 05:02:01 -06:00
[GH-ISSUE #19913] issue: Frontend doesn't validate permissions before fetching channels #19037
Reference in New Issue
Block a user
Originally created by @rozatoo on GitHub (Dec 12, 2025).
Original GitHub issue: https://github.com/open-webui/open-webui/issues/19913
Check Existing Issues
Installation Method
Git Clone
Open WebUI Version
v0.6.41
Ollama Version (if applicable)
No response
Operating System
WSL
Browser (if applicable)
No response
Confirmation
README.md.Expected Behavior
When a user does not have permission to use Channels, Channels should not be initialized or requested at all.
For example, the Folders feature is validated before folders are fetched:
Actual Behavior
When a user does not have permission to access Channels, the frontend still requests Channels on every load and the backend responds with 401 Unauthorized
No client-side validation is performed, unlike the Folders feature:
Potential validation:
Steps to Reproduce
Logs & Screenshots
Additional Information
P.S. I'm aware of the bug on main right now where the same call causes chats not to load due to the lack of a try-catch; this is fixed on dev. The call itself still occurs on dev, though. 😄
Additionally, Folders also return a 403 on every load when Folders are disabled for a user, because the validation only checks the config and not the user’s permissions. Is this intended?
@owui-terminator[bot] commented on GitHub (Dec 12, 2025):
🔍 Similar Issues Found
I found some existing issues that might be related to this one. Please check if any of these are duplicates or contain helpful solutions:
#19588 issue: Model group permissions
by apunkt • Nov 29, 2025 •
bug#19758 issue: unable to disable channels creation from regular users
by stronk7 • Dec 04, 2025 •
bug#19877 issue:
by dotmobo • Dec 11, 2025 •
bug#19861 issue:
by QuitHub • Dec 10, 2025 •
bug#19864 issue:
by Haervwe • Dec 10, 2025 •
bugShow 5 more related issues
#19777 issue:
by Yaute7 • Dec 05, 2025 •
bug#19563 issue:
by naruto7g • Nov 28, 2025 •
bug#19103 issue: no response from the model when ask in "channels"
by silenceroom • Nov 11, 2025 •
bug#18974 issue: hanging on front matter requirements after update
by DuckyBlender • Nov 06, 2025 •
bug#19211 issue:
by Byrnes9 • Nov 16, 2025 •
bug💡 Tips:
This comment was generated automatically by a bot. Please react with a 👍 if this comment was helpful, or a 👎 if it was not.
@Classic298 commented on GitHub (Dec 12, 2025):
Fixed in dev afaik
@Classic298 commented on GitHub (Dec 12, 2025):
(that the call is still there is not a bug)
@rozatoo commented on GitHub (Dec 12, 2025):
Hi @Classic298, I also noticed that users with channel permissions are able to fetch channels even when channels are globally disabled, is that a bug? (Frontend doesn't display them but call returns channels)
@Classic298 commented on GitHub (Dec 12, 2025):
@rozatoo interesting..pls open a new issue for this with reproduction steps