Filter impersonation tokens with Organization
What does this MR do and why?
In the impersonation tokens page, only list the tokens which are created for the same organization.
Fixes #486254
MR acceptance checklist
Please evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.
Screenshots or screen recordings
Screenshots are required for UI changes, and strongly recommended for all other merge requests.
Before | After |
---|---|
How to set up and validate locally
Numbered steps to set up and validate the change are strongly suggested.
- Login as the admin user
- Visit admin/users and select a user
- Click on impersonation_tokens tab
- Create a new token
- Switch to different organization with
organization_id
param Eghttps://gdk.test:3000/admin/users/akarakath/impersonation_tokens?organization_id=2
- Make sure that organization_id created on previous organization is not present
Edited by Aboobacker MK