dekkerlab / cLIMS-docker

cLIMS repository running on Docker Contaienrs
GNU Lesser General Public License v3.0
3 stars 4 forks source link

multiple objects issue #80

Open sergpolly opened 4 years ago

sergpolly commented 4 years ago

situation - someone creates an experiemnt with biosource K562 and someone else wants it to be K-562 ... users keep creating essentially same objects with different names - how do we consolidate that ? another related issue - when cloning an experiment we reference original biosource objects , e.g. K562, so whenever one modifies them - they are modified throughout the database - should we create copies ? - which often would be identical ... routine database deduplication ?!

Snehal1894 commented 3 years ago

Temporarily: To avoid modification throughout the database, we have removed the access to edit/delete Individual and Biosource once the experiments are created. Edit/Delete for Biosample is available with a warning message indicating what will happen if changes are made. (This allows for experiments to be cloned easily since most of the users clone experiments and major changes are at Biosample and experiment level)

After the above code changes, shared objects can only be modified from the admin side.