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

need a way of locking annotations post edits #124

Open satra opened 7 years ago

satra commented 7 years ago

being able to curl annotations up allows overriding annotations with ease. we need a way to prevent manually curated annotations from being overwritten.

perhaps a lock icon that effectively prevents an annotation from being overwritten.

r03ert0 commented 7 years ago

and just moving the annotation access settings to 'view' only?

satra commented 7 years ago

not quite, perhaps two types of locking:

  1. locking by doing "view only"
  2. locking that allows interactive editing but not curl based direct upload.
r03ert0 commented 7 years ago

how would that work? adding an extra button to the interface just to prevent POST upload would be strange...

r03ert0 commented 7 years ago

maybe we can prevent by default curl upload to any atlas that has been manually modified, and add a specific parameter to the curl command that would force overwritting if necessary?