Skip to content

Filter impersonation tokens with Organization

Aboobacker MK requested to merge tachyons-remove-pat-impersonation into master

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.

  1. Login as the admin user
  2. Visit admin/users and select a user
  3. Click on impersonation_tokens tab
  4. Create a new token
  5. Switch to different organization with organization_id param Eg https://gdk.test:3000/admin/users/akarakath/impersonation_tokens?organization_id=2
  6. Make sure that organization_id created on previous organization is not present
Edited by Aboobacker MK

Merge request reports

Loading