Group and project access token via AJAX
What does this MR do and why?
For group and project, display the newly created access token without the need of reloading the page. This prevents the need of storing the new access token in Redis.
- First commit: added a
represent
method - Second commit: frontend changes
- Third commit: spec fixes
I suggest to be reviewed in this way.
Closes https://gitlab.com/gitlab-org/gitlab/-/issues/365241 Closes #367541 (closed)
Epic: Stop storing encrypted access tokens in Redis (&8306 - closed)
Screenshots or screen recordings
Before | After | |
---|---|---|
Success | ||
Error |
How to set up and validate locally
- Go to a group or project settings, for example:
-
Flightjs
group: https://gdk.test:3443/groups/flightjs/-/settings/access_tokens -
flight
project: https://gdk.test:3443/flightjs/Flight/-/settings/access_tokens
-
- Create and delete access tokens
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 Eduardo Sanz García