Project

General

Profile

Bug #16016

Usergroup Inherited Roles are not shown in hammer

Added by Dominik Hlavac Duran almost 4 years ago. Updated almost 2 years ago.

Status:
Closed
Priority:
Normal
Category:
-
Difficulty:
Triaged:
Bugzilla link:
Team Backlog:
Fixed in Releases:
Found in Releases:
In Kanboard:

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 @


Related issues

Related to Foreman - Bug #15232: Usergroup Inherited Roles are not shown to Users in "My Account/Roles" tabClosed2016-05-30

Associated revisions

Revision 2f720507 (diff)
Added by Dominik Hlavac over 3 years ago

Fixes #16016 - Showing roles inherited from usergroups

History

#1 Updated by Dominik Hlavac Duran almost 4 years ago

  • Project changed from Foreman to Hammer CLI
  • Category deleted (Authorization)

#2 Updated by Dominik Hlavac Duran almost 4 years ago

  • Related to Bug #15232: Usergroup Inherited Roles are not shown to Users in "My Account/Roles" tab added

#3 Updated by Dominik Hlavac Duran almost 4 years ago

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:
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

@

#4 Updated by Tomáš Strachota almost 4 years ago

  • Status changed from New to Assigned

#5 Updated by The Foreman Bot almost 4 years ago

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

#6 Updated by Tomáš Strachota almost 4 years ago

  • Target version changed from 1.6.3 to 1.6.0

#7 Updated by Marek Hulán almost 4 years ago

  • Target version changed from 1.6.0 to 1.5.3

#8 Updated by Marek Hulán almost 4 years ago

  • Target version changed from 1.5.3 to 1.5.0

#9 Updated by Marek Hulán over 3 years ago

  • Target version changed from 1.5.0 to 1.4.2

#10 Updated by Marek Hulán over 3 years ago

  • Target version changed from 1.4.2 to 1.4.4

#11 Updated by Anonymous over 3 years ago

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

#12 Updated by Tomáš Strachota over 3 years ago

  • Legacy Backlogs Release (now unused) set to 236

Also available in: Atom PDF