openmicroscopy/openmicroscopy — pull request #1441 by chris-allan (2013-09-03 11:39:35+00:00)
Title: Don't use omero.group=-1 when not required (Fixes #11427)

Ticket for reference with more overarching explanation:
* https://trac.openmicroscopy.org.uk/ome/ticket/11427

Testing requirements:

1. Read-Write group (at least two users present in the group)
2. One or more images

Expectations before:

* If a user who is not the owner of the the image is examining an image for the first time in OMERO.web a broken image thumbnail will be shown

Expectations after:

* Thumbnail and image viewing as normal when examining an image for the first time in OMERO.web

Could potentially be exposed to full permissions testing but at this point given that all the other remote method calls in these methods use a context where `omero.group=object.details.group.id.val` I can't see any issues with the changes overall.