sebo-b / warp

Workspace Autonomous Reservation Program - a system to help you efficiently manage hybrid (assigned, hot-desks, etc) office space.
MIT License
139 stars 60 forks source link

Multiple date editing tries to remove booking not belonging to the current user #51

Open Anbcorp opened 4 months ago

Anbcorp commented 4 months ago

Hello,

It seems that editing multiple date does not perform proper checking about whose booking is edited.

Considering the following bookings:

In this configuration, if Bar tries to book any seat for both dates, the application tries to remove the booking of Foo, resulting in a "You don't have required permissions in the zone. (102)" error.

I believe this is the same bug as reported by #40

Thanks,