mirror of
https://github.com/BerriAI/litellm.git
synced 2026-09-13 23:11:40 +00:00
A key's object_permission.mcp_servers was a non-nullable String[], so an empty list and an unset value both collapsed to [], and the resolver read either one as "inherit the team's full MCP server list". That made it impossible to give a key zero servers under a team that has servers, which pushed keys past provider tool caps. The column is now nullable JSON where null inherits the team, [] means no servers, and a list means exactly those, and the resolver honors the distinction. A data-preserving migration converts the column in place and backfills existing [] to null, so every current key and team keeps inheriting and no live row changes behavior. The dashboard key create and edit forms gain an explicit Inherit / No access / Specific control so the new zero state is reachable without the API |
||
|---|---|---|
| .. | ||
| app | ||
| components | ||
| contexts | ||
| data | ||
| hooks | ||
| lib | ||
| utils | ||
| types.ts | ||