Skip to content

[Bug]: internal users can delete other team members keys. #17969

@mubashir1osmani

Description

@mubashir1osmani

What happened?

i have created two internal users (create/view/delete) keys in a team and ive noticed that user A can delete user B's keys from the Usage panel -> Top API Keys

this button should be disabled even if it does not allow internal users to delete the key

Image

Relevant log output

Are you a ML Ops Team?

No

What LiteLLM version are you on ?

v1.80.10.rc.2

Twitter / LinkedIn details

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions