Bug #16016
closed
Usergroup Inherited Roles are not shown in hammer
Added by Dominik Hlavac Duran over 8 years ago.
Updated over 6 years ago.
Description
Hammer also only shows "Anonymous" when querying the user in question, not the inherited role "Viewer" from the listed Usergroup.
$ hammer user info --login foobar
Id: 57
Login: foobar
Name: Foo Bar
Email: foo@bar.com
Admin: no
Authorized by:
Locale: default
Timezone:
Last login: 2016/05/30 11:58:35
Default organization:
Default location:
Roles:
Anonymous
User groups:
Some Group
Created at: 2016/05/23 14:49:28
Updated at: 2016/05/30 12:52:51
@$hammer user-group info --name "Some Group"
Id: 4
Name: Some Group
Users:
foobar
User groups:
External user groups:
LDAP - Some Group
Roles:
Viewer
Created at: 2016/05/20 14:09:46
Updated at: 2016/05/20 14:09:46 @
- Project changed from Foreman to Hammer CLI
- Category deleted (
Users, Roles and Permissions)
- Related to Bug #15232: Usergroup Inherited Roles are not shown to Users in "My Account/Roles" tab added
Dominik Hlavac Duran wrote:
Hammer also only shows "Anonymous" when querying the user in question, not the inherited role "Viewer" from the listed Usergroup.
@
$ hammer user info --login foobar
Id: 57
Login: foobar
Name: Foo Bar
Email: foo@bar.com
Admin: no
Authorized by:
Locale: default
Timezone:
Last login: 2016/05/30 11:58:35
Default organization:
Default location:
Roles:
Anonymous
User groups:
Some Group
Created at: 2016/05/23 14:49:28
Updated at: 2016/05/30 12:52:51
@
@
$hammer user-group info --name "Some Group"
Id: 4
Name: Some Group
Users:
foobar
User groups:
External user groups:
LDAP - Some Group
Roles:
Viewer
Created at: 2016/05/20 14:09:46
Updated at: 2016/05/20 14:09:46
@
- Status changed from New to Assigned
- Status changed from Assigned to Ready For Testing
- Pull request https://github.com/theforeman/hammer-cli-foreman/pull/254 added
- Target version changed from 1.6.3 to 1.6.0
- Target version changed from 1.6.0 to 1.5.3
- Target version changed from 1.5.3 to 1.5.0
- Target version changed from 1.5.0 to 1.4.2
- Target version changed from 1.4.2 to 1.4.4
- Status changed from Ready For Testing to Closed
- % Done changed from 0 to 100
- Translation missing: en.field_release set to 236
Also available in: Atom
PDF