-
Story
-
Resolution: Unresolved
-
Undefined
-
None
-
None
-
None
-
None
-
None
-
False
-
-
False
-
5
-
None
-
None
-
OCP Console - Sprint 278
As a cluster administrator want to impersonate a user with multiple group memberships simultaneously, so that I can accurately reproduce their effective permissions and troubleshoot RBAC issues.
Currently, the OpenShift Web Console only supports impersonating either:
- A single user (Impersonate-User: <username>)
- A single group (Impersonate-Group:Â <groupname>)
This limitation prevents administrators and support personnel from accurately reproducing a target user's effective permissions when that user belongs to multiple groups. The oc CLI already supports this via repeated --as-group flags:
Â
oc --as=user1 --as-group=developers --as-group=admins --as-group=monitoring get pods
Â
Backend Changes
- Proxy: Already supports multiple Impersonate-Group headers
- WebSocket: Extend subprotocol parsing for multiple groups
- GraphQL: Update context handling for multiple groups
UI Components
AC:
- Support simultaneous user + multiple group impersonation
- Set Impersonate-User: <username> header
- Set multiple Impersonate-Group: <group> headers (one per group)
- Provide intuitive UI for multi-group selection based on the UX input
- Update Redux state to support multiple groups
- Extend ImpersonateKind type to support group array
- Maintain backward compatibility with existing single-group state
- Handle state transitions between single and multi-group modes
- WebSocket support for multi-group impersonation
Â
- is caused by
-
RFE-1279 Ability to impersonate user who has privileges from multiple groups
-
- Refinement
-
-
RFE-7252 Enable User Impersonation via OpenShift Web Console
-
- Refinement
-
- is related to
-
CONSOLE-4782 Create the group impersonation modal
-
- To Do
-
-
CONSOLE-4783 Adding the auto-complete feature for the group impersonation modal
-
- To Do
-
-
CONSOLE-4784 WebSocket Subprotocol Parsing for multi-group impersonation
-
- To Do
-
-
CONSOLE-4785 GraphQL Context Updates
-
- To Do
-
-
CONSOLE-4787 Redux Actions & States Updates for multi-group impersonation
-
- To Do
-
-
CONSOLE-4788 Backend Request Headers Updates for multi-group impersonation
-
- To Do
-
-
CONSOLE-4789 Create the UI Actions for multi-group impersonation
-
- To Do
-
-
CONSOLE-4790 Adding the unit test for the multi-group impersonation backend changes
-
- To Do
-
-
CONSOLE-4791 Adding the Frontend Tests for the multi-group impersonation featuree
-
- To Do
-
-
CONSOLE-4792 Add the End-to-End Tests to the multi-group impersonation feature
-
- To Do
-
-
CONSOLE-4786 Redux Type Extensions for multi-group impersonation
-
- Code Review
-
-
CONSOLE-3971 Add `Impersonate Group` action to Groups list kebab and Group details Actions dropdown
-
- Closed
-