Bug 595767

Summary: Add missing admin functions to cumin-admin
Product: Red Hat Enterprise MRG Reporter: Justin Ross <jross>
Component: cuminAssignee: Justin Ross <jross>
Status: CLOSED ERRATA QA Contact: Jan Sarenik <jsarenik>
Severity: medium Docs Contact:
Priority: high    
Version: DevelopmentCC: jsarenik
Target Milestone: 1.3   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2010-10-20 11:29:39 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 595746    

Description Justin Ross 2010-05-25 15:03:10 UTC
* Role assignment
* Change password

Comment 1 Justin Ross 2010-08-02 21:42:06 UTC
Done in revision 4185.

Comment 2 Jan Sarenik 2010-09-03 11:46:58 UTC
Verified on cumin-0.1.4219-1.el5

Both password change and assignment add/remove works. Just that there
is no way to list current assignments for a user. Or did I overlook
something? Should I create a new bug for that?

# cumin-admin
usage: cumin-admin [OPTIONS] COMMAND

User commands:

  add-user USER [PASSWORD]      Add USER
  remove-user USER              Remove USER
  add-assignment USER ROLE      Add USER to ROLE
  remove-assignment USER ROLE   Remove USER from ROLE
  change-password USER          Change USER's password
  list-users                    List users
  list-roles                    List roles

Schema commands:

  check-schema                  Check schema
  create-schema                 Create schema objects
  drop-schema                   Drop schema and all data
  print-schema                  Print the schema definition

Comment 3 Justin Ross 2010-09-10 16:59:47 UTC
Sorry about the delay.  I missed this one.  The assignments are listed in the second column of the list-users output.