id,summary,reporter,owner,description,type,status,priority,milestone,component,version,resolution,keywords,cc,drp_resources,i_links,o_links,remaining_time,sprint 10618,Bug: getThumbnailByLongestSide in read-only / private groups,wmoore,jamoore,"tb.getThumbnailByLongestSide() fails for non-owners in private or read-only groups. I believe this bug exists for dev_4_4 and develop. E.g. Import SPW data as a regular member of a private group: {{{ $ omero import ~/Documents/biology-data/SPW/mias-frans/siRNA_PRIM1_03102008/ Using session eed7e559-ddb7-48aa-924a-3b3428765707 (will@localhost:4064). Idle timeout: 10.0 min. Current group: private 2013-03-27 14:27:25,730 0 [ main] INFO ome.formats.importer.ImportConfig - OMERO Version: 5.0.0-alpha1-DEV-ice34 ... }}} Then try to get the thumbnail as 'root' {{{ ... conn.SERVICE_OPTS.setOmeroGroup(-1) i = conn.getObject(""Image"", 24) jpeg = i.renderImage(None, None) jpeg.show() # PIL Image shown tb = i.getThumbnail() WARNING:omero.gateway:ReadOnlyGroupSecurityViolation on to <83c7cf1a-faa7-4975-89c8-e4328bbe1543omero.api.ThumbnailStore> getThumbnail((object #0 (::omero::RInt) { _val = 64 }, object #0 (::omero::RInt) { _val = 64 }, ), {}) Traceback (most recent call last): File ""/Users/will/Desktop/OMERO/dist/lib/python/omero/gateway/__init__.py"", line 3455, in __call__ return self.f(*args, **kwargs) File ""/Users/will/Desktop/OMERO/dist/lib/python/omero_api_ThumbnailStore_ice.py"", line 179, in getThumbnail return _M_omero.api.ThumbnailStore._op_getThumbnail.invoke(self, ((sizeX, sizeY), _ctx)) ReadOnlyGroupSecurityViolation: exception ::omero::ReadOnlyGroupSecurityViolation { serverStackTrace = ome.conditions.ReadOnlyGroupSecurityViolation: Cannot link to ome.model.core.Pixels:Id_23 Current user (root) is an admin or the owner of the private group (private=rw----). It is not allowed to link to users' data. at ome.security.basic.OmeroInterceptor.evaluateLinkages(OmeroInterceptor.java:464) at ome.security.basic.OmeroInterceptor.onSave(OmeroInterceptor.java:154) ...... at IceInternal.ThreadPool$EventHandlerThread.run(ThreadPool.java:643) at java.lang.Thread.run(Thread.java:680) serverExceptionClass = ome.conditions.ReadOnlyGroupSecurityViolation message = Cannot link to ome.model.core.Pixels:Id_23 Current user (root) is an admin or the owner of the private group (private=rw----). It is not allowed to link to users' data. } ",task,closed,blocker,OMERO-4.4.9,Import,4.4.8,fixed,,cxallan jburel ux@…,,,,0,