Krrish Dholakia
|
f76261af35
|
refactor(user_api_key_auth.py): refactor to replace user_id_information list with pydantic user_obj
Allows using the 'get_user_object' function in user_api_key_auth, keeping it consistent across jwt-auth and key-auth
|
2024-08-07 15:33:55 -07:00 |
|
Krrish Dholakia
|
d832327ccf
|
fix(user_api_key_auth.py): respect team budgets over user budget, if key belongs to team
Closes https://github.com/BerriAI/litellm/issues/5097
|
2024-08-07 14:32:27 -07:00 |
|
Krrish Dholakia
|
f610fba58f
|
fix(user_api_key_auth.py): handle older user_role's
Fixes issue where older user_role's (e.g. app_user) weren't being recognized. + Adds testing for it
|
2024-08-05 08:57:06 -07:00 |
|
Krrish Dholakia
|
b77edc59ed
|
fix(user_api_key_cache): fix check to not raise error if team object is missing
|
2024-07-30 18:25:04 -07:00 |
|
Krrish Dholakia
|
99aa311083
|
fix(user_api_key_auth.py): update team values in token cache if refreshed more recently
|
2024-07-19 17:35:59 -07:00 |
|
Krrish Dholakia
|
35e640076b
|
fix(user_api_key_auth.py): update valid token cache with updated team object cache
|
2024-07-19 17:06:49 -07:00 |
|
Krrish Dholakia
|
f3cc57bc6f
|
feat(user_api_key_auth.py): allow restricting calls by IP address
Allows admin to restrict which IP addresses can make calls to the proxy
|
2024-07-08 15:58:15 -07:00 |
|