Unlock Resource via UI
Problem to solve
When we deliver #15536 (closed), there is a situation where a resource may be locked forever (or until the timeout #118434), we need to provide a way for the user to unlock the resource.
Intended users
Further details
We will provide two methods to achieve unlocking of a resource.
- API #121715
- UI (this issue)
Proposal
In #15536 (closed) we introduced a lock that represents the locked resource
Pressing the lock should allow you to unlock resource.
- icon should change to unlocked lock - @mnichols1
- A warning should be presented to the user "Unlocking the resource will terminate any job that is currently running"
- user can cancel or approve, if cancel - nothing should happen
- If user approves, the jobs should be terminated by calling the API that was introduced in #121715
- Audit log should record this action
Author | Action | Target | At |
---|---|---|---|
<user> |
"Unlocked Resource" <resource id>
|
<name of resource> |
<timestamp> |
Permissions and Security
Documentation
Testing
What does success look like, and how can we measure that?
What is the type of buyer?
Links / references
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.