Task #13070 (closed)
Searching thwors permission issue
| Reported by: | atarkowska | Owned by: | jamoore |
|---|---|---|---|
| Priority: | major | Milestone: | OMERO-5.2.1 |
| Component: | Search | Version: | OMERO-5.1.3 |
| Keywords: | n.a. | Cc: | khgillen, sbesson |
| Resources: | n.a. | Referenced By: | n.a. |
| References: | n.a. | Remaining Time: | n.a. |
| Sprint: | n.a. |
Description (last modified by wmoore)
https://www.openmicroscopy.org/qa2/qa2/qa/feedback/16855/
and https://www.openmicroscopy.org/qa2/qa/feedback/16902/ from Seb Besson.
Comment: Just tried to search for the string 1103 in the search box, on demo, looking at demo_group / Ian Munro's data.
Traceback (most recent call last):
File "/home/demo/OMERO.server-5.1.4-ice35-b55/lib/python/django/core/handlers/base.py", line 114, in get_response
response = wrapped_callback(request, *callback_args, **callback_kwargs)
File "/home/demo/OMERO.server-5.1.4-ice35-b55/lib/python/omeroweb/decorators.py", line 478, in wrapped
retval = f(request, *args, **kwargs)
File "/home/demo/OMERO.server-5.1.4-ice35-b55/lib/python/omeroweb/decorators.py", line 528, in wrapper
context = f(request, *args, **kwargs)
File "/home/demo/OMERO.server-5.1.4-ice35-b55/lib/python/omeroweb/webclient/views.py", line 788, in load_searching
obj = conn.getObject(t, searchById)
File "/home/demo/OMERO.server-5.1.4-ice35-b55/lib/python/omero/gateway/__init__.py", line 2960, in getObject
query, params, self.SERVICE_OPTS)
File "/home/demo/OMERO.server-5.1.4-ice35-b55/lib/python/omero/gateway/__init__.py", line 4163, in __call__
return self.handle_exception(e, *args, **kwargs)
File "/home/demo/OMERO.server-5.1.4-ice35-b55/lib/python/omeroweb/webclient/webclient_gateway.py", line 2106, in handle_exception
e, *args, **kwargs)
File "/home/demo/OMERO.server-5.1.4-ice35-b55/lib/python/omero/gateway/__init__.py", line 4160, in __call__
return self.f(*args, **kwargs)
File "/home/demo/OMERO.server-5.1.4-ice35-b55/lib/python/omero_api_IQuery_ice.py", line 226, in findByQuery
return _M_omero.api.IQuery._op_findByQuery.invoke(self, ((query, params), _ctx))
InternalException: exception ::omero::InternalException
{
serverStackTrace = ome.conditions.InternalException: No permissions: Details:{;perm=rw-a-auser=54;group=0;create=1223187;update=1223187}
at ome.security.basic.CurrentDetails.applyContext(CurrentDetails.java:413)
at ome.security.basic.BasicACLVoter.postProcess(BasicACLVoter.java:404)
at ome.security.CompositeACLVoter.postProcess(CompositeACLVoter.java:107)
at ome.tools.hibernate.ProxyCleanupFilter.filter(ProxyCleanupFilter.java:123)
at ome.util.ContextFilter.filter(ContextFilter.java:164)
at ome.tools.hibernate.ProxyCleanupFilter$Interceptor.invoke(ProxyCleanupFilter.java:252)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
at ome.services.util.ServiceHandler.invoke(ServiceHandler.java:121)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:202)
at com.sun.proxy.$Proxy80.findByQuery(Unknown Source)
at sun.reflect.GeneratedMethodAccessor472.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:307)
at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:183)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150)
at ome.security.basic.BasicSecurityWiring.invoke(BasicSecurityWiring.java:98)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
at ome.services.blitz.fire.AopContextInitializer.invoke(AopContextInitializer.java:43)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:202)
at com.sun.proxy.$Proxy80.findByQuery(Unknown Source)
at sun.reflect.GeneratedMethodAccessor615.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at ome.services.blitz.util.IceMethodInvoker.invoke(IceMethodInvoker.java:179)
at ome.services.throttling.Callback.run(Callback.java:56)
at ome.services.throttling.InThreadThrottlingStrategy.callInvokerOnRawArgs(InThreadThrottlingStrategy.java:56)
at ome.services.blitz.impl.AbstractAmdServant.callInvokerOnRawArgs(AbstractAmdServant.java:149)
at ome.services.blitz.impl.QueryI.findByQuery_async(QueryI.java:92)
at sun.reflect.GeneratedMethodAccessor614.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:307)
at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:183)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150)
at omero.cmd.CallContext.invoke(CallContext.java:78)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:202)
at com.sun.proxy.$Proxy81.findByQuery_async(Unknown Source)
at omero.api._IQueryTie.findByQuery_async(_IQueryTie.java:108)
at omero.api._IQueryDisp.___findByQuery(_IQueryDisp.java:362)
at omero.api._IQueryDisp.__dispatch(_IQueryDisp.java:519)
at IceInternal.Incoming.invoke(Incoming.java:222)
at Ice.ConnectionI.invokeAll(ConnectionI.java:2482)
at Ice.ConnectionI.dispatch(ConnectionI.java:1258)
at Ice.ConnectionI.message(ConnectionI.java:1213)
at IceInternal.ThreadPool.run(ThreadPool.java:321)
at IceInternal.ThreadPool.access$300(ThreadPool.java:12)
at IceInternal.ThreadPool$EventHandlerThread.run(ThreadPool.java:693)
at java.lang.Thread.run(Thread.java:745)
serverExceptionClass = ome.conditions.InternalException
message = No permissions: Details:{;perm=rw-a-auser=54;group=0;create=1223187;update=1223187}
}
<WSGIRequest
path:/webclient/load_searching/form/,
GET:<QueryDict: {u'datatype': [u'images', u'datasets', u'projects', u'plates', u'screens', 'plateacquisitions'], u'enddateinput': [u''], u'useAcquisitionDate': [u'false'], u'ownedBy': [u'2869'], u'query': [u'1103'], u'csrfmiddlewaretoken': [u'ZKQohqwkCkXtpZYki8aGH7i8s4KZxMuT'], u'startdateinput': [u''], u'searchGroup': [u'-1']}>,
POST:<QueryDict: {}>,
'RAW_URI': '/webclient/load_searching/form/?csrfmiddlewaretoken=ZKQohqwkCkXtpZYki8aGH7i8s4KZxMuT&query=1103&datatype=images&datatype=datasets&datatype=projects&datatype=plates&datatype=screens&searchGroup=-1&ownedBy=2869&useAcquisitionDate=false&startdateinput=&enddateinput=',
Change History (8)
comment:1 Changed 4 years ago by atarkowska
- Component changed from Web to Search
- Owner changed from atarkowska to jmoore
comment:2 Changed 4 years ago by atarkowska
- Owner changed from jmoore to jamoore
comment:3 Changed 4 years ago by wmoore
Same error at #11362
comment:4 Changed 4 years ago by wmoore
- Description modified (diff)
comment:5 Changed 4 years ago by atarkowska
- Cc khgillen sbesson added; k.h.gillen@… removed
comment:6 Changed 4 years ago by jamoore
- Resolution set to duplicate
- Status changed from new to closed
Duplicate of #11362.
comment:7 Changed 4 years ago by jburel
- Milestone changed from OMERO-5.2.1 to OMERO-5.2.2
Milestone OMERO-5.2.1 deleted
comment:8 Changed 4 years ago by jburel
- Milestone changed from OMERO-5.2.2 to OMERO-5.2.1
Milestone OMERO-5.2.2 deleted
Note: See
TracTickets for help on using
tickets.
You may also have a look at Agilo extensions to the ticket.
Looks like similar issue was reported in https://www.openmicroscopy.org/qa2/qa/feedback/16899/