raimohanska / ourboard

An online whiteboard
Other
763 stars 60 forks source link

Selection race condition #99

Closed raimohanska closed 3 years ago

raimohanska commented 3 years ago
  1. User A selects "everything"
  2. After a while user B selects some items. At this point items don't appear locked
  3. As a result items appear locked for B and they cannot move them

I'd rather allow use B to select everything and do stuff if A just stands there with all selected, doing nothing.

Needs some investigation.

raimohanska commented 3 years ago

I guess if A's locks expire between 1 and 2 and B select some of them, I guess the locks should be transferred to A and maybe the items now locked by B should now be un-selected for A, right?