Re: Shutdown handler in an OMERO.script
Posted: Tue Jul 01, 2014 7:19 am
Hey Josh,
Thanks for the suggestion of storing something in the session directly. That's something I hadn't thought about yet. I think much effort is made in rejoining an existing session for an user when one exists, right? So, even though this is not persistent, it would still be retrievable when say, launching a script from Insight and then logging into to the webclient?
Also, I ran into this problem when running "updateService.saveObject(jobObj)" as non admin user:
Is this a bug? The job is assigned to the user performing the update.
Thank you,
Paul
Thanks for the suggestion of storing something in the session directly. That's something I hadn't thought about yet. I think much effort is made in rejoining an existing session for an user when one exists, right? So, even though this is not persistent, it would still be retrievable when say, launching a script from Insight and then logging into to the webclient?
Also, I ran into this problem when running "updateService.saveObject(jobObj)" as non admin user:
- Code: Select all
serverExceptionClass = ome.conditions.SecurityViolation
message = Updating ome.model.jobs.ScriptJob:Id_10192 not allowed.
Is this a bug? The job is assigned to the user performing the update.
Thank you,
Paul