mirror of
https://github.com/gravitational/teleport.git
synced 2026-11-03 07:40:28 +08:00
Updates tctl edit and the web ui to start using optimistic locking. The functionality to support optimistic locking already existed, the APIs used by both clients were updated to use create/update instead of upsert so that optimistic locking could be enforced. Most of the changes introduced are tests to ensure that tctl edit, tctl create and the web ui behave as expected. Contributes to #30416.