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"

User Story #104 (closed)

Opened 14 years ago

Closed 14 years ago

Users should be addable through build system

Reported by: jamoore Owned by: jamoore
Priority: minor Milestone: 3.0-M3
Component: Deployment Keywords: iteration6
Cc: Story Points: n.a.
Sprint: n.a. Importance: n.a.
Total Remaining Time: n.a. Estimated Remaining Time: n.a.

Description

Take the SQL from
Getting Started tiki page for creating a user and create an ant target. "del-user" would most likely also be appropriate. A long-term strategy should also be considered.

r585 added simple initial version.

Originally http://bugs.openmicroscopy.org.uk/show_bug.cgi?id=644

Change History (4)

comment:1 Changed 14 years ago by jmoore

  • Milestone changed from Unscheduled to 3.0-M3

r769 updates the existing functionality for passwords (#181). This needs to be extended to allow the user to enter a password. (Though difficult because of Java standard-in issues:
http://issues.apache.org/bugzilla/show_bug.cgi?id=33354

comment:2 Changed 14 years ago by jmoore

  • Keywords iteration6 added

comment:3 Changed 14 years ago by jmoore

r1011 reimplements <adduser/> under /client and also adds <addgroup/> as well. Rather than talking directly to the database, these now use the client ServiceFactory and therefore undergo AAA (authentication, authorization, auditing), etc.

However, there was one twist. There are very nasty groovy classloader issues in making this happen. Therefore I've filed #407 to slowly port all of these to Java. Currently, log4j issues crazy errors when running adduser and addgroup. We'll have to see what we can do to get rid of them. #407 is probably the easiest solution:

public class AddUser {
  public static void main(String[] args) {
    Experimenter e = new Experimenter();
    e.setOmeName( args[0] );
    // etc.
  }
}

comment:4 Changed 14 years ago by jmoore

  • Resolution set to fixed
  • Status changed from new 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.178864 sec.)

We're Hiring!