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

Opened 16 years ago

Closed 14 years ago

Possibly use annotation as script marker

Reported by: jamoore Owned by: jamoore
Priority: minor Milestone: OMERO-Beta4.2
Component: Scripting Version: 3.0-M1
Keywords: n.a. Cc: dzmacdonald, cblackburn
Resources: n.a. Referenced By: n.a.
References: n.a. Remaining Time: n.a.
Sprint: 2010-04-16 (7)

Description

Rather than requiring a script to be owned by an admin (meaning it can't be uploaded by the user), it might be more useful and flexible to just have an admin add an annotation to the OriginalFile :

  file.linkAnnotation(
    new BooleanAnnotation("omero.scripts.valid", true)
  );

or similar.

Change History (4)

comment:1 Changed 15 years ago by jmoore

  • Milestone changed from OMERO-Beta4 to OMERO-Beta4.2

Sounds more like a 4.2 modification. Moving for now.

comment:2 Changed 14 years ago by jmoore

  • Component changed from Services to Scripting
  • Owner changed from jmoore to dzmacdonald

comment:3 Changed 14 years ago by jmoore

  • Owner changed from dzmacdonald to jmoore

comment:4 Changed 14 years ago by jmoore

  • Cc cblackburn added
  • Resolution set to fixed
  • Sprint set to 2010-04-16 (7)
  • Status changed from new to closed

As a part of #2073 and #2018 (and tangentially #1740) all official scripts are being placed under lib/scripts and accessed via a ScriptRepositoryI instance. This is a clearer and simpler marker of trust, and allows easier adding of scripts by admins.

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

We're Hiring!