-
Notifications
You must be signed in to change notification settings - Fork 1
Copilot: Update: Add User group membership authenticate #68
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull Request Overview
This PR implements user group membership authentication for the Copilot system, adding support for both local development mode and production REST API authentication.
- Adds REST API integration to verify user authentication via the rest server
- Updates authentication logic to check admin privileges and virtual cluster membership
- Changes configuration from "valid-groups" to "valid-vcs" (virtual clusters) across deployment files
Reviewed Changes
Copilot reviewed 3 out of 3 changed files in this pull request and generated 4 comments.
File | Description |
---|---|
authentication.py | Implements production REST API authentication and updates local auth logic to return admin/virtual cluster info |
copilot-chat-deployment.yaml.template | Updates environment variable name from COPILOT_VALID_GROUPS to COPILOT_VALID_VCS |
copilot-chat.yaml | Changes configuration key from valid-groups to valid-vcs |
Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Add: