Files
open-webui/backend/open_webui
Classic298 f32b19c1f6 feat: add {{USER_GROUPS}} and {{USER_GROUP_IDS}} placeholders for custom forwarded headers (#27236)
Custom per-connection headers can now forward the user's groups to
upstream backends via two new template placeholders:

- {{USER_GROUPS}}: comma-separated group names
- {{USER_GROUP_IDS}}: comma-separated group ids

The group lookup is async, so get_custom_headers becomes an async
wrapper around the sync template substitution (parse_custom_headers)
and fetches groups lazily — only when a header value actually
references a groups placeholder. The external document loader path
runs in a worker thread without an event loop, so Loader.aload
prefetches the groups before offloading and passes them through to
ExternalDocumentLoader.


Claude-Session: https://claude.ai/code/session_01EbBEfTyu8fFJmC13rnQthT

Co-authored-by: Claude <noreply@anthropic.com>
2026-07-26 23:21:26 -04:00
..
2026-07-26 19:34:41 -04:00
2026-07-26 23:16:58 -04:00
2026-07-26 23:16:58 -04:00
2026-07-20 22:27:13 -04:00
2026-07-26 21:07:20 -04:00
2026-06-17 03:01:11 +02:00
2026-06-29 05:46:51 -05:00
2026-07-26 18:36:49 -04:00
2026-07-26 19:10:41 -04:00
2026-07-23 03:39:56 -04:00
2026-07-26 23:16:58 -04:00
2026-07-26 22:45:11 -04:00