Files
open-webui-custom/backend/open_webui
Sihyeon Jang eff06538a6 perf: fix N+1 query issues in user group access control validation
- Pre-fetch user group IDs in get_*_by_user_id methods across models layer
- Pass user_group_ids to has_access to avoid repeated group queries
- Reduce query count from 1+N to 1+1 pattern for access control validation
- Apply consistent optimization across knowledge, models, notes, prompts, and tools

Signed-off-by: Sihyeon Jang <sihyeon.jang@navercorp.com>
2025-09-03 05:56:48 +09:00
..
2025-08-10 22:28:31 +08:00
2025-08-21 02:39:25 +04:00
2025-09-01 14:27:20 +04:00
2025-09-02 21:32:07 +04:00
2025-08-28 13:25:48 +04:00
2025-08-10 00:02:58 +04:00
2025-08-21 12:44:16 +04:00
2025-07-16 15:23:18 +09:00
2025-09-01 22:49:49 +04:00
2025-09-01 02:41:29 +04:00
2025-06-03 18:07:29 +04:00
2025-08-28 03:24:26 +04:00
2025-08-25 14:29:05 +04:00
2025-09-01 14:14:20 +04:00