LibreChat/packages/api/src/admin
Dustin Healy 2506644d58 fix: paginate listRoles, null-guard permissions handler, fix export ordering
- Add limit/offset/total pagination to listRoles matching the groups pattern
- Add countRoles data-layer method
- Omit permissions from listRoles select (getRole returns full document)
- Null-guard re-fetched role in updateRolePermissionsHandler
- Move interleaved export below all imports in methods/index.ts
2026-03-26 17:24:01 -07:00
..
config.handler.spec.ts 🎛️ feat: DB-Backed Per-Principal Config System (#12354) 2026-03-25 19:39:29 -04:00
config.spec.ts 🎛️ feat: DB-Backed Per-Principal Config System (#12354) 2026-03-25 19:39:29 -04:00
config.ts 🧵 feat: ALS Context Middleware, Tenant Threading, and Config Cache Invalidation (#12407) 2026-03-26 17:35:00 -04:00
groups.spec.ts 👥 feat: Admin Groups API Endpoints (#12387) 2026-03-26 17:36:18 -04:00
groups.ts 👥 feat: Admin Groups API Endpoints (#12387) 2026-03-26 17:36:18 -04:00
index.ts feat: add admin roles handler factory and Express routes 2026-03-26 14:50:27 -07:00
roles.spec.ts fix: paginate listRoles, null-guard permissions handler, fix export ordering 2026-03-26 17:24:01 -07:00
roles.ts fix: paginate listRoles, null-guard permissions handler, fix export ordering 2026-03-26 17:24:01 -07:00