Warning: Can't synchronize with repository "(default)" (/home/git/ome.git does not appear to be a Git repository.). Look in the Trac log for more information.
Notice: In order to edit this ticket you need to be either: a Product Owner, The owner or the reporter of the ticket, or, in case of a Task not yet assigned, a team_member"

Task #8279 (closed)

Opened 12 years ago

Closed 12 years ago

Scripts group permissions

Reported by: wmoore Owned by: wmoore
Priority: major Milestone: OMERO-4.4
Component: Scripting Version: n.a.
Keywords: n.a. Cc: jburel, jamoore
Resources: n.a. Referenced By: n.a.
References: n.a. Remaining Time: n.a.
Sprint: n.a.

Description

Probably want list_scripts() to return scripts from all groups?

When running a script, your current group may not be the same as the data you are working with.
Therefore, we should probably set omero.group = "-1" in all our scripts and examples.

Change History (3)

comment:1 Changed 12 years ago by jmoore

This will not work as you expect, Will. We'll need to talk through the various scenarios, but if you are in group A and try to run a script from group B, you will get an exception because it will not be possible to link the object into your group, which is something we may be able to come up with a fix for, but it won't just be as simple as passing -1 to list_scripts.

comment:2 Changed 12 years ago by wmoore

  • Sprint 2012-03-27 (11) deleted

Assess this later once the UI and other permissions stuff is working.

comment:3 Changed 12 years ago by wmoore

  • Resolution set to fixed
  • Status changed from new to closed

Scripts are largely working across groups now. Results are being handled by Sebastien's work. E.g. https://github.com/will-moore/openmicroscopy/pull/7

Note: See TracTickets for help on using tickets. You may also have a look at Agilo extensions to the ticket.

1.3.13-PRO © 2008-2011 Agilo Software all rights reserved (this page was served in: 0.64900 sec.)

We're Hiring!