open-webui/backend/open_webui/routers
Classic298 4f94d21780
fix: enforce filter_allowed_access_grants on channel create and update (#23638)
Unlike all other resource routers (knowledge, models, notes, prompts, tools, skills), the channel router did not call filter_allowed_access_grants. This allowed any user to set wildcard access grants on group channels, bypassing the admin's public sharing permission framework.

Adds filter_allowed_access_grants with the sharing.public_channels permission key to both create and update endpoints, matching the pattern used by all other resource routers.
2026-04-12 16:27:44 -05:00
..
analytics.py refac: async db 2026-04-12 14:22:11 -05:00
audio.py refac: async db 2026-04-12 14:22:11 -05:00
auths.py fix: enforce OAUTH_ALLOWED_DOMAINS on token exchange endpoint (#23639) 2026-04-12 16:19:58 -05:00
automations.py refac: async db 2026-04-12 14:22:11 -05:00
channels.py fix: enforce filter_allowed_access_grants on channel create and update (#23638) 2026-04-12 16:27:44 -05:00
chats.py refac: async db 2026-04-12 14:22:11 -05:00
configs.py refac 2026-03-26 18:17:49 -05:00
evaluations.py refac: async db 2026-04-12 14:22:11 -05:00
files.py refac 2026-04-12 14:39:23 -05:00
folders.py refac: async db 2026-04-12 14:22:11 -05:00
functions.py refac: async db 2026-04-12 14:22:11 -05:00
groups.py refac: async db 2026-04-12 14:22:11 -05:00
images.py refac 2026-04-12 14:39:23 -05:00
knowledge.py refac 2026-04-12 14:39:23 -05:00
memories.py refac: async db 2026-04-12 14:22:11 -05:00
models.py refac: async db 2026-04-12 14:22:11 -05:00
notes.py refac: async db 2026-04-12 14:22:11 -05:00
ollama.py refac: async db 2026-04-12 14:22:11 -05:00
openai.py fix: gate OpenAI catch-all proxy behind ENABLE_OPENAI_API_PASSTHROUGH toggle (#23640) 2026-04-12 14:26:12 -05:00
pipelines.py refac 2026-03-24 04:49:48 -05:00
prompts.py refac: async db 2026-04-12 14:22:11 -05:00
retrieval.py refac: async db 2026-04-12 14:22:11 -05:00
scim.py refac: async db 2026-04-12 14:22:11 -05:00
skills.py refac: async db 2026-04-12 14:22:11 -05:00
tasks.py refac 2026-03-17 17:58:01 -05:00
terminals.py refac: async db 2026-04-12 14:22:11 -05:00
tools.py refac 2026-04-12 14:24:08 -05:00
users.py fix: invalidate stale Socket.IO sessions on role change and user deletion (#23642) 2026-04-12 16:19:38 -05:00
utils.py refac 2026-03-26 19:01:33 -05:00