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 #2073 (closed)

Opened 14 years ago

Closed 14 years ago

Script permissions

Reported by: wmoore Owned by: jamoore
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: 0.0d
Sprint: 2010-04-16 (7)

Description (last modified by wmoore)

User can't access all scripts.

After root has just uploaded a script 'combineImages.py'...

If I call scriptService.getScripts() as root, I get

{673L: 'combineImages.py', 2L: 'makemovie.py', 101L: 'populateroi.py', 102L: 'makemovie.py', 1L: 'populateroi.py', 651L: 'populateroi.py', 652L: 'makemovie.py', 51L: 'populateroi.py', 52L: 'makemovie.py', 151L: 'populateroi.py', 152L: 'makemovie.py'}

but as user 'will' I get only

{1L: 'populateroi.py', 2L: 'makemovie.py', 101L: 'populateroi.py', 102L: 'makemovie.py', 651L: 'populateroi.py', 652L: 'makemovie.py', 51L: 'populateroi.py', 52L: 'makemovie.py', 151L: 'populateroi.py', 152L: 'makemovie.py'}

However, if I have the script-Id as user, I seem to be able to run the script. See testBoxer at http://trac.openmicroscopy.org.uk/omero/browser/trunk/components/tools/OmeroPy/test/integration/emanScripts.py

Change History (18)

comment:1 Changed 14 years ago by wmoore

  • Description modified (diff)

comment:2 Changed 14 years ago by cxallan

  • Sprint changed from 2010-03-19 (5) to 2010-04-02 (6)

comment:3 Changed 14 years ago by jmoore

  • Remaining Time set to 0.25

comment:4 Changed 14 years ago by wmoore

  • Description modified (diff)

comment:5 Changed 14 years ago by jmoore

  • Status changed from new to assigned

comment:6 Changed 14 years ago by jmoore

  • Owner jmoore deleted
  • Status changed from assigned to new

comment:7 Changed 14 years ago by jmoore

  • Owner set to jmoore

comment:8 Changed 14 years ago by jmoore

  • Status changed from new to assigned

comment:9 Changed 14 years ago by cxallan

  • Sprint changed from 2010-04-02 (6) to 2010-04-16 (7)

comment:10 Changed 14 years ago by jmoore

  • Remaining Time changed from 0.25 to 0.5

comment:11 Changed 14 years ago by jmoore

(In [6725]) see #2073 - Starting working on /OMERO/Scripts

comment:12 Changed 14 years ago by jmoore

(In [6726]) see #2073 - adding validateScripts

comment:13 Changed 14 years ago by jmoore

(In [6727]) see #2073 - Working ScriptRepository?, but no registration

comment:14 Changed 14 years ago by jmoore

(In [6745]) see #2073 - Various fixes post-db upgrade. Script repo working.

comment:15 Changed 14 years ago by jmoore

(In [6748]) see #2073 - Various fixes to grid infrastructure while testing script repo

  • timeout error secs v. millis
  • reduction in number of internal remote calls
  • OmeroPy integration test fixes

comment:16 Changed 14 years ago by jmoore

(In [6750]) see #2073 - Removing unused scripts/pixelstypetopython and fixing imports

comment:17 Changed 14 years ago by jmoore

(In [6753]) see #2261, #2073 - Fixing build dep cycle in params helper

comment:18 Changed 14 years ago by jmoore

  • Remaining Time changed from 0.5 to 0
  • Resolution set to fixed
  • Status changed from assigned to closed

With the work on #2261 the security issues for scripts should be fixed. Be sure to review 2261 for more information.

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.70455 sec.)

We're Hiring!