openmicroscopy/openmicroscopy — pull request #2420 by ximenesuk (2014-05-01 19:19:37+00:00)
Title: Fix permissions in bulk annotation script

See https://trac.openmicroscopy.org.uk/ome/ticket/12210

It looks like the OriginalFile is being created in the user's *default* group but the update of the AnnotationLink is explicitly using the group of the target Plate or Screen. For a simple user with one group this is fine, for other group combinations the link may fail or may be across groups.

This commit fixes the problem but it may not be the right fix or the right way to do this and so this PR is for comments /cc @joshmoore @pwalczysko