Files
open-webui/backend/open_webui/routers
Classic298 a35b37adcd fix: keep chats shared with an admin readable when ENABLE_ADMIN_CHAT_ACCESS is off (#27127)
get_chat_by_id sent admins down a branch that returned the chat only when
ENABLE_ADMIN_CHAT_ACCESS was on, or the chat was internal, and never fell
through to the access-grant and shared-folder checks. With the setting off,
an admin was therefore denied a chat that had been deliberately shared with
them, either directly or through a shared folder, while any non-admin holding
the same grant could open it. The admin role removed access the user had been
given rather than only closing the admin-only path.

Try the admin path first, then let everyone fall through to the grant and
folder checks. ENABLE_ADMIN_CHAT_ACCESS=false still closes the admin-only
route to other users' chats, and internal chats stay reachable.
2026-07-24 00:02:12 -05:00
..
2026-06-29 01:38:41 -05:00
2026-07-23 21:29:33 -04:00
2026-06-29 13:03:14 -05:00
2026-06-29 13:03:14 -05:00
2026-07-14 00:10:28 -04:00
2026-06-29 13:03:14 -05:00
2026-07-20 22:11:42 -04:00
2026-07-23 19:17:19 -04:00
2026-07-09 17:28:34 -05:00
2026-06-29 05:47:21 -05:00
2026-07-23 21:29:33 -04:00
2026-06-29 14:03:11 -05:00
2026-06-29 13:03:14 -05:00
2026-07-24 00:47:12 -04:00
2026-07-20 22:11:42 -04:00
2026-07-16 01:27:52 -04:00
2026-07-23 21:29:33 -04:00
2026-07-23 21:29:33 -04:00
2026-07-23 21:29:33 -04:00
2026-06-29 13:03:14 -05:00
2026-07-23 21:29:33 -04:00
2026-06-25 03:31:45 +01:00
2026-07-17 04:11:11 -04:00
2026-07-16 21:57:43 -04:00
2026-07-10 16:41:35 -05:00
2026-07-09 17:28:34 -05:00
2026-06-17 02:52:35 +02:00