• Icon: Sub-task Sub-task
    • Resolution: Unresolved
    • Icon: Undefined Undefined
    • None
    • None
    • Admin Screens
    • None
    • Product / Portfolio Work
    • False
    • Hide

      None

      Show
      None
    • False
    • 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

              rh-ee-leoli Leo Li
              rh-ee-leoli Leo Li
              None
              None
              None
              None
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated: