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

Opened 12 years ago

Closed 11 years ago

cli: "bin/omero group setowner"

Reported by: jamoore Owned by: sbesson
Priority: minor Milestone: OMERO-4.4.7
Component: Client Version: n.a.
Keywords: n.a. Cc: luca.lianas@…, jamoore
Resources: n.a. Referenced By: n.a.
References: n.a. Remaining Time: n.a.
Sprint: 2012-11-20 (2)

Description

lucalianas		can i ask you a quick question? (it's an "omero user" question)			10:16
Will Moore		sure			10:16
lucalianas		is there a way to create a group owner using the omero command line?			10:17
Will Moore		jrs-macbookpro-25107:OMERO will$ omero user -h
usage: /Users/will/Desktop/OMERO/dist/bin/omero user [-h] <subcommand> ...

Support for adding and managing users

Optional Arguments:
  In addition to any higher level options

  -h, --help          show this help message and exit

Subcommands:
  Use /Users/will/Desktop/OMERO/dist/bin/omero user <subcommand> -h for more information.

  <subcommand>
    add               Add users
    list              List current users
    password          Set user's password
    email             List users' email addresses
10:18
Will Moore		Not sure. Josh?			10:18
lucalianas		ok, this is the command i used to create the users			10:19
lucalianas		omero@biobank05:/opt/omero/dist/bin$ ./omero user add --help
usage: ./omero user add [-h] [--ignore-existing] [-m MIDDLENAME] [-e EMAIL]
                        [-i INSTITUTION] [-P USERPASSWORD] [-a]
                        username firstname lastname member_of [member_of ...]

Add users

Positional Arguments:
  username                              User's login name
  firstname                             User's given name
  lastname                              User's surname name
  member_of                             Groups which the user is to be a member of

Optional Arguments:
  In addition to any higher level options

  -h, --help                            show this help message and exit
  --ignore-existing                     Do not fail if user already exists
  -m MIDDLENAME, --middlename MIDDLENAME
                                        Middle name, if available
  -e EMAIL, --email EMAIL
  -i INSTITUTION, --institution INSTITUTION
  -P USERPASSWORD, --userpassword USERPASSWORD
                                        Password for user
  -a, --admin                           Whether the user should be an admin
10:19
	Scott Littlewood		omero group -h seems to handle the group permissions			10:20
lucalianas		omero@biobank05:/opt/omero/dist/bin$ ./omero group perms --help
usage: ./omero group perms [-h]
                           [--perms PERMS | --type {private,read-only,collaborative}]
                           id_or_name

Modify a group's permissions

Positional Arguments:
  id_or_name                            ExperimenterGroup's id or name

Optional Arguments:
  In addition to any higher level options

  -h, --help                            show this help message and exit
  --perms PERMS                         Group permissions set as string, e.g. 'rw----' 
  --type {private,read-only,collaborative}
                                        Group permission set symbollically
10:21
lucalianas		you can modify a group's permissions but not create an owner			10:21
lucalianas		of course, i know how to create an owner using the API or the Java client, i just wanted to know if the CLI have the same features 			10:22
lucalianas		has pardon			10:28
	Josh Moore		no problem, luca.			10:28
Josh Moore		it's true. wanna add it? 			10:29
lucalianas		i can try but i won't be able to work untill our first release will be completed 			10:36
lucalianas		if you can wait i'll try

Change History (8)

comment:1 Changed 12 years ago by jburel

Referencing ticket #2571 has changed sprint.

comment:2 Changed 12 years ago by jmoore

  • Milestone changed from OMERO-Beta4.4 to OMERO-Beta4.4.1

Could possibly be added as 4.4.x if we address other CLI issues

comment:3 Changed 12 years ago by jmoore

Referencing ticket #2571 has changed sprint.

comment:4 Changed 11 years ago by sbesson

  • Cc jmoore added
  • Owner changed from jmoore to sbesson

comment:5 Changed 11 years ago by sbesson

  • Sprint set to 2012-11-20 (2)

comment:6 Changed 11 years ago by sbesson

  • Status changed from new to accepted

comment:8 Changed 11 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.105876 sec.)

We're Hiring!