neuroanatomy / BrainBox

BrainBox is a web application that lets you annotate and segment 3D brain imaging data in real time, collaboratively.
https://brainbox.pasteur.fr
Other
96 stars 46 forks source link

Make sure user can't patch existing MRI through websockets (#315 follow-up) #318

Closed dhovart closed 2 years ago

dhovart commented 2 years ago

To make sure annotations cannot be edited or removed through websockets I've prevented patches that add / remove layers or text annotations to be applied on MRIs.

It can now only be done from a project settings page.

I've not covered the case where a user send a whole object instead of a patch to the websocket server, but from what I understand this needs to be deprecated.

katjaq commented 2 years ago

Awesome! Thank you!