Revoke an Agent Token from the UI
Proposal
With #327152 (closed) we will be able to create new agent tokens, however there may also be a need to revoke a token without completely removing the agent.
We have GraphQL mutations available for revoking a token, the next step will be to trigger this from the UI.
Proposal
- We should add a
Revoke
button in the agent access token list. - When the button is pressed an blocking alert is raised where the users need to confirm the deletion, or can cancel it.
Definition of done
-
The revoke button is present in the agent access token list. -
The revoke button is disabled for users with less than maintainer role. -
For users with at least maintainer rights clicking on the button opens a confirmation popup. -
The popup contains an input to confirm the revoke action and a cancel button. -
After the token was revoked, the token list gets updated.
This page may contain information related to upcoming products, features and functionality. It is important to note that the information presented is for informational purposes only, so please do not rely on the information for purchasing or planning purposes. Just like with all projects, the items mentioned on the page are subject to change or delay, and the development, release, and timing of any products, features, or functionality remain at the sole discretion of GitLab Inc.
Edited by Anna Vovchenko