Fix PAT's api_get_path to use correct token
What does this MR do and why?
Describe in detail what your merge request does and why.
- Fix PAT's api_get_path to use correct (current) user's token to fetch personal access tokens
- When a resource (currently only personal access token) is retrieved from cache, do not run
TestResourceDataProcessor
as not new token is created. So no need to record it for removal. - Use the user's username in PAT's name for improved logging to help with debugging
Fixes #373038 (closed), #373084 (closed), #373086 (closed)
Screenshots or screen recordings
Screenshots are required for UI changes, and strongly recommended for all other merge requests.
How to set up and validate locally
Numbered steps to set up and validate the change are strongly suggested.
MR acceptance checklist
This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.
-
I have evaluated the MR acceptance checklist for this MR.
Edited by Sanad Liaquat