Project

General

Profile

Bug #10251

Unable get user default location and org

Added by Tomáš Strachota over 7 years ago. Updated over 7 years ago.

Status:
Closed
Priority:
Normal
Category:
Foreman commands (obsolete)
Target version:
-
Difficulty:
Triaged:
No
Bugzilla link:
Team Backlog:
Fixed in Releases:
Found in Releases:
In Kanboard:

Description

Cloned from https://bugzilla.redhat.com/show_bug.cgi?id=1213426
Description of problem:
I am trying to get information about user default location and organization, but cannot find to do that. It is not a problem to set that information, but not get

Version-Release number of selected component (if applicable):
Satellite 6.1.0 Beta

How reproducible:
Always

Steps to Reproduce:
1. To set location:
hammer user create --login "a1" --auth-source-id "1" --password "a1" --mail "" --location-ids 1 --default-location-id 1
2. To get:
hammer user info --login "a1"
3. There are no information about "Default Location" in the output

Actual results:
Id: 15
Login: a1
Name:
Email:
Admin: no
Authorized by: Internal
Last login:
Roles:
Anonymous
User groups:

Locations:
uYuvGkIyDrQuy
Created at: 2015/04/20 13:48:12
Updated at: 2015/04/20 13:48:12

Expected results:
Id: 15
Login: a1
Name:
Email:
Admin: no
Authorized by: Internal
Last login:
Roles:
Anonymous
User groups:

Locations:
uYuvGkIyDrQuy
Default Location:
uYuvGkIyDrQuy

Created at: 2015/04/20 13:48:12
Updated at: 2015/04/20 13:48:12

Additional info:

Associated revisions

Revision 8fd2bb5c (diff)
Added by Tomas Strachota over 7 years ago

Fixes #10251 - adding default org and loc to user info

Revision aff93a32
Added by mbacovsky over 7 years ago

Merge pull request #177 from tstrachota/default_org

Fixes #10251 - adding default org and loc to user info

History

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

  • Category set to Foreman commands (obsolete)
  • Status changed from New to Assigned

#2 Updated by The Foreman Bot over 7 years ago

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

#3 Updated by Anonymous over 7 years ago

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

Also available in: Atom PDF