Task #2079 (closed)
Opened 14 years ago
Closed 14 years ago
Create-Image Permissions
Reported by: | wmoore | Owned by: | |
---|---|---|---|
Priority: | n.a. | Milestone: | OMERO-Beta4.2 |
Component: | n.a. | Version: | n.a. |
Keywords: | n.a. | Cc: | |
Resources: | n.a. | Referenced By: | n.a. |
References: | n.a. | Remaining Time: | n.a. |
Sprint: | 2010-03-19 (5) |
Description (last modified by wmoore)
wjm:OmeroPy will$ PYTHONPATH=/opt/Ice-3.3.1/python:.:test:build/lib ICE_CONFIG=/Users/will/Documents/workspace/Omero/etc/ice.config python test/integration/thumbnailPerms.py E ====================================================================== ERROR: testfoo (__main__.TestIShare) ---------------------------------------------------------------------- Traceback (most recent call last): File "test/integration/thumbnailPerms.py", line 111, in testfoo iId = createTestImage(client_share1.sf) File "test/integration/thumbnailPerms.py", line 124, in createTestImage pixelsType = queryService.findByQuery("from PixelsType as p where p.value='%s'" % pType, None) # omero::model::PixelsType File "/Users/will/Documents/workspace/Omero/components/tools/OmeroPy/build/lib/omero_API_ice.py", line 1600, in findByQuery return _M_omero.api.IQuery._op_findByQuery.invoke(self, ((query, params), _ctx)) SecurityViolation: exception ::omero::SecurityViolation { serverStackTrace = ome.conditions.SecurityViolation: No matching roles found in [private_e04388fe-3a46-4eeb-8669-f1f5923016f6, read-only_e04388fe-3a46-4eeb-8669-f1f5923016f6, collaborative_e04388fe-3a46-4eeb-8669-f1f5923016f6] for session a948a19b-6079-4539-9d0c-08a0d236c2dd (allowed: [user]) at ome.security.basic.BasicMethodSecurity.checkMethod(BasicMethodSecurity.java:122) at ome.security.basic.BasicSecurityWiring.invoke(BasicSecurityWiring.java:74) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171) at ome.services.blitz.fire.AopContextInitializer.invoke(AopContextInitializer.java:35) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171) at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204) at $Proxy51.findByQuery(Unknown Source) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:592) 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:128) at ome.services.blitz.impl.QueryI.findByQuery_async(QueryI.java:92) at omero.api._IQueryTie.findByQuery_async(_IQueryTie.java:113) at omero.api._IQueryDisp.___findByQuery(_IQueryDisp.java:342) at omero.api._IQueryDisp.__dispatch(_IQueryDisp.java:508) at IceInternal.Incoming.invoke(Incoming.java:159) at Ice.ConnectionI.invokeAll(ConnectionI.java:2037) at Ice.ConnectionI.message(ConnectionI.java:972) at IceInternal.ThreadPool.run(ThreadPool.java:577) at IceInternal.ThreadPool.access$100(ThreadPool.java:12) at IceInternal.ThreadPool$EventHandlerThread.run(ThreadPool.java:971) serverExceptionClass = ome.conditions.SecurityViolation message = No matching roles found in [private_e04388fe-3a46-4eeb-8669-f1f5923016f6, read-only_e04388fe-3a46-4eeb-8669-f1f5923016f6, collaborative_e04388fe-3a46-4eeb-8669-f1f5923016f6] for session a948a19b-6079-4539-9d0c-08a0d236c2dd (allowed: [user]) } ---------------------------------------------------------------------- Ran 1 test in 25.393s FAILED (errors=1)
Change History (1)
comment:1 Changed 14 years ago by wmoore
- Description modified (diff)
- Resolution set to invalid
- Status changed from new to closed
Note: See
TracTickets for help on using
tickets.
You may also have a look at Agilo extensions to the ticket.
Forgot to add user to 'user' group.