litellm/tests/test_litellm/proxy/auth
Jehandad Kamal 912be308b2
fix: allow internal users to access video generation routes (#16472)
Fixes #16470

Video generation endpoints (/v1/videos, /videos/{video_id}, etc.) were
incorrectly restricted to proxy_admin role only. These routes are now
added to openai_routes list, making them accessible to internal_user
role as they should be - video generation is a legitimate user feature,
not a management/admin operation.

Changes:
- Added 8 video route patterns to LiteLLMRoutes.openai_routes in _types.py
- Added comprehensive tests verifying internal_user and virtual key access
- All existing route permission tests continue to pass

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-authored-by: Claude <noreply@anthropic.com>
2025-11-10 17:44:16 -08:00
..
test_auth_checks.py [Feat] Tag Management - Add support for setting tag based budgets (#15433) 2025-10-10 19:24:50 -07:00
test_auth_exception_handler.py Litellm fix GitHub action testing (#11163) 2025-05-26 14:41:42 -07:00
test_handle_jwt.py test_handle_jwt.py 2025-08-13 17:27:50 -07:00
test_litellm_license.py Show remaining users on UI (#11568) 2025-06-09 22:04:45 -07:00
test_model_checks.py litellm/proxy: preserve model order of /v1/models and /model_group/info (#13178) 2025-08-02 08:57:38 -07:00
test_model_checks_fallbacks.py feat: extended /v1/models endpoint, now it returns with fallbacks on demand (#12811) 2025-07-22 23:16:46 -07:00
test_route_checks.py fix: allow internal users to access video generation routes (#16472) 2025-11-10 17:44:16 -08:00
test_user_api_key_auth.py Fix Token Spend is under budget for passthrough (#15805) 2025-10-22 10:55:22 -07:00