openmicroscopy/openmicroscopy — pull request #1557 by joshmoore (2013-09-29 19:07:17+00:00)
Title: Don't use omero.group=-1 when not required (Fixes #11427) (rebased onto dev_4_4)

This is the same as gh-1441 but rebased onto dev_4_4.

----

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.