Bug #1845 (closed)
Opened 14 years ago
Closed 14 years ago
Scripting and permissions
Reported by: | jburel | Owned by: | jamoore |
---|---|---|---|
Priority: | blocker | Cc: | wmoore |
Sprint: | n.a. | ||
Total Remaining Time: | n.a. |
Description
Loading a script and try to access the parameters using the
getParams(long) method of !IScript
Ice.UnknownException unknown = "ome.conditions.SecurityViolation: Deleting ome.model.jobs.ScriptJob:Id_104 not allowed. at ome.security.basic.BasicACLVoter.throwDeleteViolation(BasicACLVoter.java:180) at ome.security.CompositeACLVoter.throwDeleteViolation(CompositeACLVoter.java:82) at ome.security.ACLEventListener.onPreDelete(ACLEventListener.java:145) at org.hibernate.action.EntityDeleteAction.preDelete(EntityDeleteAction.java:112) at org.hibernate.action.EntityDeleteAction.execute(EntityDeleteAction.java:51) at org.hibernate.engine.ActionQueue.execute(ActionQueue.java:279) at org.hibernate.engine.ActionQueue.executeActions(ActionQueue.java:263) at org.hibernate.engine.ActionQueue.executeActions(ActionQueue.java:172) at org.hibernate.event.def.AbstractFlushingEventListener.performExecutions(AbstractFlushingEventListener.java:298) at org.hibernate.event.def.DefaultFlushEventListener.onFlush(DefaultFlushEventListener.java:27) at org.hibernate.impl.SessionImpl.flush(SessionImpl.java:1000) at ome.logic.UpdateImpl.afterUpdate(UpdateImpl.java:287) at ome.logic.UpdateImpl.doAction(UpdateImpl.java:305) at ome.logic.UpdateImpl.doAction(UpdateImpl.java:295) at ome.logic.UpdateImpl.deleteObject(UpdateImpl.java:198) at ome.services.blitz.impl.ScriptI$11.doWork(ScriptI.java:653) at sun.reflect.GeneratedMethodAccessor181.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:592) at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:310) at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149) at ome.services.util.Executor$Impl$Interceptor.invoke(Executor.java:394) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171) at ome.security.basic.EventHandler.invoke(EventHandler.java:133) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171) at org.springframework.orm.hibernate3.HibernateInterceptor.invoke(HibernateInterceptor.java:111) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171) at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:106) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171) at ome.tools.hibernate.ProxyCleanupFilter$Interceptor.invoke(ProxyCleanupFilter.java:175) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171) at ome.services.util.ServiceHandler.invoke(ServiceHandler.java:110) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171) at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204) at $Proxy55.doWork(Unknown Source) at ome.services.util.Executor$Impl.execute(Executor.java:324) at ome.services.blitz.impl.ScriptI.deleteTempJob(ScriptI.java:646) at ome.services.blitz.impl.ScriptI.getScriptParams(ScriptI.java:553) at ome.services.blitz.impl.ScriptI.getParams(ScriptI.java:519) at ome.services.blitz.impl.ScriptI.access$900(ScriptI.java:65) at ome.services.blitz.impl.ScriptI$5.run(ScriptI.java:320) at ome.services.throttling.InThreadThrottlingStrategy.runnableCall(InThreadThrottlingStrategy.java:51) at ome.services.blitz.impl.AbstractAmdServant.runnableCall(AbstractAmdServant.java:129) at ome.services.blitz.impl.ScriptI.getParams_async(ScriptI.java:316) at omero.api._IScriptTie.getParams_async(_IScriptTie.java:71) at omero.api._IScriptDisp.___getParams(_IScriptDisp.java:241) at omero.api._IScriptDisp.__dispatch(_IScriptDisp.java:328) 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) " at IceInternal.Outgoing.invoke(Outgoing.java:147) at omero.api._IScriptDelM.getParams(_IScriptDelM.java:81) at omero.api.IScriptPrxHelper.getParams(IScriptPrxHelper.java:117) at omero.api.IScriptPrxHelper.getParams(IScriptPrxHelper.java:89) at org.openmicroscopy.shoola.env.data.OMEROGateway.loadScripts(OMEROGateway.java:5069) at org.openmicroscopy.shoola.env.data.OmeroImageServiceImpl.loadScripts(OmeroImageServiceImpl.java:878) at org.openmicroscopy.shoola.env.data.views.calls.ScriptsLoader$1.doCall(ScriptsLoader.java:73) at org.openmicroscopy.shoola.env.data.views.BatchCall.doStep(BatchCall.java:145) at org.openmicroscopy.shoola.util.concur.tasks.CompositeTask.doStep(CompositeTask.java:226) at org.openmicroscopy.shoola.env.data.views.CompositeBatchCall.doStep(CompositeBatchCall.java:126) at org.openmicroscopy.shoola.util.concur.tasks.ExecCommand.exec(ExecCommand.java:165) at org.openmicroscopy.shoola.util.concur.tasks.ExecCommand.run(ExecCommand.java:274) at org.openmicroscopy.shoola.util.concur.tasks.AsyncProcessor$Runner.run(AsyncProcessor.java:91) at java.lang.Thread.run(Thread.java:613)
Change History (1)
comment:1 Changed 14 years ago by jmoore
- Resolution set to fixed
- 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.
getParams no longer calls delete Job: #1321