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

#34975 [Bug]: Non-admin users can no longer change key type of existing keys on v1.92.0

  • State: open
  • Author: @przem8k
  • Labels: bug

### Check for existing issues

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

### What happened?

On 1.93.0, existing non-admins can no longer switch their existing keys from key type "AI APIs" to "Full access".

If I try to do it, an existing "AI APIs" keys looks like this:

<img width="263" height="171" alt="Image" src="https://github.com/user-attachments/assets/7ad87d58-4c19-4b59-9c4c-b57e9c2ff1f7" />

I switch it to Key Type full access, which automatically clears Allowed routes:

<img width="263" height="171" alt="Image" src="https://github.com/user-attachments/assets/fbbaa74a-09c8-4e6f-932f-47ca269ad6a1" />

I hit save and get the following error:

``` {'error': 'Only proxy admins can set `allowed_routes` on a key. Use `key_type` to pick a preset route bucket instead.'} ```

The error message tells me to do exactly what I'm already trying to do, switching key type to "Full access".

This is likely related to the changes mentioned in v1.92.0 release notes:

*Setting permissions and allowed_routes now requires proxy-admin privileges.*

, but it seems it was intended that non-admin users can set the key type as they like self-service. Si…

GitHub resolver

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

Refresh page
vote history (2 events)
#0 of 0 · 31d18h40m19s ago — entered · #import:https:::github.com:berriai:litellm post #2201
Issue 31870 spans multiple integration layers, lifecycle hooks, configuration scoping, streaming performance, and regression testing, creating substantially broader implementation and validation risk than the focused authorization-path fix in issue 34975.
#0 of 0 · 31d18h29m35s ago — current · #import:https:::github.com:berriai:litellm post #2379
Issue 34975 is harder because it involves authorization rules, key-update semantics, and regression-safe backend changes with permission coverage. Issue 29012 is comparatively localized to date-aware filtering in an existing UI helper.
discussed in #import:https:::github.com:berriai:litellm

ranked child groups

no voted pairs yet in this scope

cli
src
spread
search