Sihyeon Jang
0503fbd2e3
perf: fix N+1 query issue in tools access control checking
...
- Pre-fetch user group IDs once per request in get_tools endpoint
- Pass user_group_ids to has_access to avoid repeated group queries
- Optimize access control validation from 1+N to 1+1 query pattern
- Reduce database load when checking multiple tools access permissions
Signed-off-by: Sihyeon Jang <sihyeon.jang@navercorp.com>
2025-09-03 05:49:53 +09:00
Timothy Jaeryang Baek
e6da38464b
refac: ENABLE_ADMIN_WORKSPACE_CONTENT_ACCESS renamed to BYPASS_ADMIN_ACCESS_CONTROL
2025-08-21 13:08:22 +04:00
Timothy Jaeryang Baek
f592748011
refac: tool server redis cache
2025-08-18 20:53:46 +04:00
Timothy Jaeryang Baek
8a157578f4
enh/refac: ability to specify external tool server id
2025-08-18 20:38:55 +04:00
Timothy Jaeryang Baek
55ad48d1c3
feat: ENABLE_ADMIN_WORKSPACE_CONTENT_ACCESS
...
Co-Authored-By: Classic298 <27028174+Classic298@users.noreply.github.com>
2025-08-06 01:44:52 +04:00
Bela Vizi
9623ef4360
add trust env to clientsession
2025-07-02 17:59:56 +02:00
Timothy Jaeryang Baek
85a384fab5
enh: load tool by url
2025-05-29 02:08:54 +04:00
Timothy Jaeryang Baek
a38e44e870
enh: external tool server custom name/description support
2025-05-27 00:10:33 +04:00
Timothy Jaeryang Baek
53df5d3946
refac: rename hard to understand cryptic function names
2025-04-10 19:41:17 -07:00
Thomas Rehn
f5b2867e45
fix: mismatch between TOOL_SERVERS / TOOL_SERVER_CONNECTIONS indexing
2025-04-08 14:08:08 +02:00
Timothy Jaeryang Baek
9747a0e1f1
refac: tool servers
2025-04-05 04:40:01 -06:00
Timothy Jaeryang Baek
0c0505e1cd
refac
2025-04-05 04:05:52 -06:00
tidely
b15814c42f
chore: remove unnecessary Path conversions
...
Remove unnecessary `pathlib.Path` conversions. (CACHE_DIR and DATA_DIR)
Use `/` Path joining shorthand to ensure using platform specific Path separators (Windows: \\, Unix: /)
2025-03-04 19:53:52 +02:00
Yifang Deng
0e5d5ecb81
refactor: replace print statements with logging for better error tracking
2025-02-25 15:53:55 +01:00
tarmst
751a61a364
Adding more checks for write access. Adding accessRoles to Model & Knowledge creation
2025-01-27 18:11:52 +00:00
Timothy Jaeryang Baek
8fc5532e2f
fix: tools valves access
2025-01-23 10:37:44 -08:00
Timothy Jaeryang Baek
31ed1fcdb8
fix: tools permissions
2025-01-20 22:57:40 -08:00
Timothy Jaeryang Baek
bdc60e7850
chore: format backend
2025-01-19 11:59:07 -08:00
tarmst
49eca68e28
Add toggle to read/write perms on access control
2025-01-10 18:44:50 +00:00
Timothy Jaeryang Baek
3bda1a8b88
wip
2024-12-11 18:36:59 -08:00
Timothy Jaeryang Baek
d3d161f723
wip
2024-12-10 00:54:13 -08:00