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
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
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.