Project

General

Profile

Actions

Bug #10251

closed

Unable get user default location and org

Added by Tomáš Strachota almost 10 years ago. Updated almost 10 years ago.

Status:
Closed
Priority:
Normal
Category:
Foreman commands (obsolete)
Target version:
-
Difficulty:
Triaged:
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:

Actions

Also available in: Atom PDF