mirror of
https://github.com/BerriAI/litellm.git
synced 2025-04-27 03:34:10 +00:00
Create and view organizations + assign org admins on the Proxy UI (#7557)
* feat: initial commit for new 'organizations' tab on ui * build(ui/): create generic card for rendering complete org data table can be reused in teams as well simplifies things * build(ui/): display created orgs on ui * build(ui/): support adding orgs via UI * build(ui/): add org in selection dropdown * build(organizations.tsx): allow assigning org admins * build(ui/): show org members on ui * build(ui/): cleanup + show actual models on org dropdown * build(ui/): explain user roles within organization
This commit is contained in:
parent
256a2d7847
commit
ebe113810b
14 changed files with 1014 additions and 6 deletions
|
@ -4,6 +4,7 @@ Endpoints for /organization operations
|
|||
/organization/new
|
||||
/organization/update
|
||||
/organization/delete
|
||||
/organization/member_add
|
||||
/organization/info
|
||||
/organization/list
|
||||
"""
|
||||
|
@ -230,7 +231,9 @@ async def list_organization(
|
|||
status_code=400,
|
||||
detail={"error": CommonProxyErrors.db_not_connected_error.value},
|
||||
)
|
||||
response = await prisma_client.db.litellm_organizationtable.find_many()
|
||||
response = await prisma_client.db.litellm_organizationtable.find_many(
|
||||
include={"members": True}
|
||||
)
|
||||
|
||||
return response
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue