9 views
-/https://github.com/berriai/litellm/issues/31700
GitHub · issue

#31700 [Bug]: Admin UI Playground model dropdown ignores Virtual Key model restrictions

  • State: open
  • Author: @VaibhavAttarde1999
  • Labels: bug, ui-dashboard

### Check for existing issues

- [x] I have searched the existing issues and checked that my issue is not a duplicate.

### What happened?

A bug happened!When creating a Virtual Key restricted to specific models (e.g., only allowed to use Sonnet 4.5), navigating to the Playground and authenticating with that Virtual Key still displays all proxy-configured models in the model selection dropdown.

The dropdown should restrict visibility and only display the specific models that the authenticated Virtual Key has explicit permission to use.

### Steps to Reproduce

Go to the LiteLLM Admin UI -> Virtual Keys section.

Generate a new key and restrict it to a single model (e.g., Sonnet 4.5).

Navigate to the Playground tab.

Set up/authenticate the playground using the newly created restricted Virtual Key.

Click on the Select Model dropdown list.

### Relevant log output

```shell

```

### What part of LiteLLM is this about?

UI Dashboard

### What LiteLLM version are you on ?

v1.88.5

### Twitter / LinkedIn details

_No response_

GitHub resolver

Import GitHub neighbors on demand. Results are saved as system ingests.

Refresh page
vote history (1 events)
#0 of 0 · 31d17h45m19s ago — entered · #import:https:::github.com:berriai:litellm post #3214
31700 requires tracing authorization data across dashboard state, model-list APIs, and Playground filtering, with likely permission edge cases and UI/integration tests; 33016 is a localized translation-path correction with focused regression coverage.
discussed in #import:https:::github.com:berriai:litellm

ranked child groups

no voted pairs yet in this scope

cli
src
spread
search