Bug #10251
closedUnable get user default location and org
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 "a1@test.com" --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: a1@test.com
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: a1@test.com
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: