-
Sub-task
-
Resolution: Unresolved
-
Undefined
-
None
-
None
-
None
-
Product / Portfolio Work
-
False
-
-
False
-
None
-
None
-
None
-
None
-
OCP Console - Sprint 279
This is the sub-task for the group impersonation work. https://issues.redhat.com/browse/CONSOLE-4734
The WebSocket parsing is a special mechanism that allows the OpenShift Console to pass impersonation information through WebSocket connections. WebSocket connections don't support custom headers after the initial handshake. But the console needs to maintain impersonation context for real-time features.
The related code snippet might be:
https://github.com/Leo6Leo/console/blob/main/frontend/public/actions/ui.ts#L217-L241
https://github.com/Leo6Leo/console/blob/main/pkg/proxy/proxy.go#L151-L157
Acceptance Criteria:
- Modify WebSocket subprotocol parsing to support multiple Impersonate-Group. entries
- Update subprotocol handling to accumulate multiple groups instead of overwriting
- Ensure proper encoding/decoding for multiple group subprotocols
- relates to
-
CONSOLE-4734 Enable Multi-Group User Impersonation in OpenShift Web Console
-
- In Progress
-
- links to