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

Opened 10 years ago

Closed 9 years ago

RFE: Add token creation from CLI

Reported by: jamoore Owned by: sbesson
Priority: major Milestone: OMERO-5.1.4
Component: Client Version: 5.0.1
Keywords: cli Cc: fs@…, sbesson
Resources: n.a. Referenced By: n.a.
References: n.a. Remaining Time: n.a.
Sprint: n.a.

Description

To complete the import-as workflow from the CLI, it would be useful to have token support like scc to allow creating long-lived sessions for users which can then be hard-coded in cron jobs and similar.

Change History (7)

comment:1 Changed 9 years ago by jamoore

  • Milestone changed from 5.1.0-m4 to 5.1.1

comment:2 Changed 9 years ago by jamoore

  • Owner jamoore deleted

Seb might do some initial changes for this along with any "-k" though this will largely be pushed to 5.1.x. Some thoughts:

  • bin/omero sessions currently is concerned with *local* sessions (i.e. ~/omero/sessions)
  • "tokens" (though the name can be changed) represents keys that live on the server for some given timeout.
  • we may need some form of flag in the DB to recognize long-lived sessions
  • shares should be separated from tokens.
  • history of token usage should be available as with https://github.com/settings/security

comment:3 Changed 9 years ago by sbesson

  • Milestone changed from 5.1.1 to 5.1.2
  • Owner set to sbesson

Goal for 5.1.1 will be to fix existing bugs/limitations with local sessions. Pushing this to 5.1.2.

comment:4 Changed 9 years ago by sbesson

  • Milestone changed from 5.1.2 to 5.1.3

Moving to 5.1.3 unless anyone wants to take ownership.

comment:5 Changed 9 years ago by jamoore

  • Milestone changed from 5.1.4 to OMERO-5.1.4

Splitting 5.1.4 due to milestone decoupling

comment:6 Changed 9 years ago by sbesson

  • Status changed from new to accepted

comment:7 Changed 9 years ago by sbesson

  • Resolution set to fixed
  • Status changed from accepted to closed
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.65029 sec.)

We're Hiring!