Project

General

Profile

Feature #17923

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

Added by Tomáš Strachota over 3 years ago. Updated almost 2 years ago.

Status:
Closed
Priority:
Normal
Category:
-
Difficulty:
Triaged:
Bugzilla link:
Team Backlog:
Marek
Fixed in Releases:
Found in Releases:
In Kanboard:

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 userDuplicate2014-02-17

Associated revisions

Revision ece84601 (diff)
Added by Tomas Strachota over 3 years ago

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

History

#1 Updated by Tomáš Strachota over 3 years ago

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

#2 Updated by Shlomi Zadok over 3 years ago

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

#3 Updated by The Foreman Bot over 3 years ago

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

#4 Updated by Shlomi Zadok over 3 years 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 over 3 years ago

  • Assignee changed from Shlomi Zadok to Tomáš Strachota

#6 Updated by Tomáš Strachota over 3 years ago

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

#7 Updated by Tomáš Strachota over 3 years ago

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

#8 Updated by The Foreman Bot over 3 years 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 over 3 years ago

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

#10 Updated by Tomáš Strachota over 3 years ago

  • Legacy Backlogs Release (now unused) set to 234

Also available in: Atom PDF