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:
Updated by Tomáš Strachota almost 10 years ago
- Category set to Foreman commands (obsolete)
- Status changed from New to Assigned
Updated by The Foreman Bot almost 10 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 (
)
Updated by Anonymous almost 10 years ago
- Status changed from Ready For Testing to Closed
- % Done changed from 0 to 100
Applied in changeset hammer-cli-foreman|8fd2bb5cb0336b3fdeb9759af7a09127cc550cab.