archlinux / arch-security-tracker

Arch Linux Security Tracker
https://security.archlinux.org
MIT License
125 stars 40 forks source link

feature(edit): optimistic locking of edit forms to avoid overwrites #185

Closed anthraxx closed 2 years ago

anthraxx commented 3 years ago

Closes #37

anthraxx commented 2 years ago

@SantiagoTorres Yes thats correct, i think its enough to detect if the data has changed in the meanwhile.

we just collect current time whenever the data is really change and afterwards just rely on representing it. there should be no influence from time-drift in this scenario as we also do not rely on any client side clocks. Do you think it would be worth changing everything?

SantiagoTorres commented 2 years ago

Thanks for bumping this up!

Nope, I think I'm comfortable with how things are now :)