mirror of
https://github.com/tiennm99/litellm.git
synced 2026-07-04 15:07:22 +00:00
c7fe400d4d
Regular team members could not see service accounts belonging to their team. Additionally, former team members could still see service accounts they created via the created_by filter after leaving the team. - Add get_member_team_ids() to retrieve all teams a user belongs to - Regular members now see team service accounts (user_id=NULL) but not other members' personal keys - Scope created_by filter to the user's current team memberships - Add 7 unit tests covering the new visibility rules
In total litellm runs 1000+ tests
[02/20/2025] Update:
To make it easier to contribute and map what behavior is tested,
we've started mapping the litellm directory in tests/test_litellm
This folder can only run mock tests.