Enhancement: Custom Endpoint Permissions #2429
tip-dteller
started this conversation in
Feature Requests & Suggestions
Replies: 1 comment 2 replies
-
There will be role based access controls but not quite like this |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
What features would you like to see added?
Allow usage of endpoints depending on User Group Claim.
Think of the following Scenario:
There are 2 endpoints in Custom section:
Endpoint A - OpenAI
Endpoint B - Google
In order to route via teams, additional configuration params are required:
permissionsRole <- Should match the name of the group in AD\Entra
Example:
SecurityGroup - Team-A
permissionsRole: "${OPENAI_GROUP_CLAIM_NAME}"
The Config.yaml would look like:
In UI, when Person Z from Team-A logs in with SSO with GroupClaim - team-a
The JSON from Azure Entra would contain:
The user is then allowed to access the UI.
User clicks on "ChatGPT" Icon in the UI to start a chat with this endpoint.
Endpoint compares groupClaim with configuration and allows usage of Endpoint.
Person Z from Team-A tries to click on Google Endpoint and is thrown an error.
Assuming this works, we can then parse
groups: team-a
to the proxy, LiteLLM in this case by adding this to the endpoint's configuration in the yaml:
On LiteLLM side, its possible to configure a team based routing and associate it with this group so it would work.
More details
None
Which components are impacted by your request?
Endpoints
Pictures
No response
Code of Conduct
Beta Was this translation helpful? Give feedback.
All reactions