Feature #17923

User update/create only accept ifs for default organization and location

Added by Tomáš Strachota 3 months ago. Updated 12 days ago.

Status:Closed
Priority:Normal
Assigned To:Tomáš Strachota
Category:-
Target version:Foreman - Team Marek backlog
Difficulty: Bugzilla link:1339902
Found in release: Pull request:https://github.com/theforeman/hammer-cli-foreman/pull/285
Story points-
Velocity based estimate-
Releasehammer-cli-foreman-0.10.0Release relationshipAuto

Description

> hammer user create -h
Usage:
    hammer user create [OPTIONS]

Options:
 --admin ADMIN                                     is an admin account
                                                   One of true/false, yes/no, 1/0.
 --auth-source-id AUTH_SOURCE_ID                    
 --default-location-id DEFAULT_LOCATION_ID          
 --default-organization-id DEFAULT_ORGANIZATION_ID  
...

The id options work fine but there's no way of setting the default organization/location by name.


Related issues

Related to Hammer CLI - Feature #4356: Improve ways of passing auth source when creating a user New 02/17/2014

Associated revisions

Revision ece84601
Added by Tomas Strachota 30 days ago

Fixes #17923 - user create/update accepts org/loc name

History

#1 Updated by Tomáš Strachota 3 months ago

  • Related to Bug #11299: hammer cli should allow referencing auth source by name, not just id added

#2 Updated by Shlomi Zadok 3 months ago

  • Tracker changed from Bug to Feature
  • Project changed from Hammer CLI to Foreman
  • Category deleted (Users and roles)
  • Assigned To set to Shlomi Zadok

#3 Updated by The Foreman Bot 3 months ago

  • Status changed from New to Ready For Testing
  • Pull request https://github.com/theforeman/foreman/pull/4157 added

#4 Updated by Shlomi Zadok 2 months ago

  • Project changed from Foreman to Hammer CLI
  • Status changed from Ready For Testing to Assigned
  • Pull request deleted (https://github.com/theforeman/foreman/pull/4157)

#5 Updated by Tomáš Strachota about 1 month ago

  • Assigned To changed from Shlomi Zadok to Tomáš Strachota

#6 Updated by Tomáš Strachota about 1 month ago

  • Related to deleted (Bug #11299: hammer cli should allow referencing auth source by name, not just id)

#7 Updated by Tomáš Strachota about 1 month ago

  • Related to Feature #4356: Improve ways of passing auth source when creating a user added

#8 Updated by The Foreman Bot about 1 month ago

  • Status changed from Assigned to Ready For Testing
  • Pull request https://github.com/theforeman/hammer-cli-foreman/pull/285 added

#9 Updated by Anonymous 30 days ago

  • Status changed from Ready For Testing to Closed
  • % Done changed from 0 to 100

#10 Updated by Tomáš Strachota 12 days ago

  • Release set to hammer-cli-foreman-0.10.0

Also available in: Atom PDF