Prevent multiple people from editing the same form
问题 I have a laravel app that is being used by multiple users at once, they all have the possibility to edit some projects in our system. What I dont want is to have 2 people at the same time editing the same form. If that happens I would like to tell other users that the current form is locked and is being edited by username. If user then leaves or submits the form, then the form is opened for other users to work with. I have checked out both optimistic and pessimistic locking, I don't think