TECHNOLOGY

LiteLLM applies access-group checks when a resource pins its deployment

In this article
THE QUICK TAKE

Reuse a synthetic resource ID with allowed and denied keys and assert provider access is checked; routing identity is not itself an authorization grant.

LiteLLM v1.111.0-dev.2, released on November 13 as a prerelease, enforces access groups on requests pinned to a deployment. A stored resource identifier can determine routing, but should not bypass the caller’s deployment permissions. Acceptance should separate knowing a resource ID from being permitted to use the deployment that owns it, while preserving legitimate explicit and wildcard grants.

Pin two callers to the same synthetic resource

Create an inert stored resource through a private test deployment, then address it with keys in allowed and unrelated access groups. Instrument the provider boundary and assert the denied request stops before upstream access. A final error is insufficient if the provider already returned private data to an intermediate logger. Keep resource content synthetic and compare the selected deployment identity for both attempts.

Known identity must not override permission

Repeat through the resource operations the application supports, such as retrieval and deletion, using inert fixtures. A resource ID is useful routing evidence but not an invitation to skip ordinary filters. Preserve the original owner and request identity in diagnostics. Avoid client workarounds that retry a denied pin against a public alias, because that can change the authorization question and conceal the rejected deployment’s ownership.

Legitimate broad grants remain controls

Exercise explicit deployment permission, owning-group permission and a supported wildcard grant. The implementation preserves those paths, so a fixture that rejects every pinned request would not prove correctness. Keep the expected authorization matrix written before execution. A permitted caller should reach the intended upstream resource without accidentally broadening another key’s rights or requiring the application to discard useful deployment affinity.

Review routing and authorization as paired decisions

Report resolved deployment, authenticated key scope, upstream-call observation and final outcome for each fixture. The release repairs a shared router boundary and does not establish every provider resource policy. No real confidential resources are needed to prove the control. A useful migration shows that pins retain correct routing while permissions still apply, and that existing allowed callers continue working without treating opaque identifiers as bearer authority.

Sources

Earn rental income from GPUs

Have idle GPUs or looking to fund AI infrastructure? Retrivium finds a rental platform, sets up the server and helps you assess income and costs with a pilot.

Explore GPU hosting
← All articles