Project

General

Profile

Bug #15232

Usergroup Inherited Roles are not shown to Users in "My Account/Roles" tab

Added by Simon Mügge almost 3 years ago. Updated 11 months ago.

Status:
Closed
Priority:
Normal
Category:
Authorization
Target version:
Difficulty:
Triaged:
Bugzilla link:
Team Backlog:
Fixed in Releases:
Found in Releases:

Description

When only assigning a Role to a User via inheritance from a Usergroup, no Roles are shown in that users "My Account/Roles" tab.

User in this case has "Anonymous" (which is seemingly never shown any way) and "Viewer" inherited from a (linked LDAP-)Group.

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 #15231: Usergroup Inherited Roles are not shown to Users in "My Account/Roles" tab Rejected2016-05-30
Related to Hammer CLI - Bug #16016: Usergroup Inherited Roles are not shown in hammerClosed2016-08-09

Associated revisions

Revision 2a3ede3c (diff)
Added by Dominik Hlavac Duran over 2 years ago

Fixes #15232 - Showing inherited roles from User groups to user

History

#1 Updated by Marek Hulán almost 3 years ago

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

#2 Updated by Dominic Cleal almost 3 years ago

  • Category set to Authorization

#3 Updated by Marek Hulán almost 3 years ago

  • Target version set to 115

#4 Updated by Dominik Hlavac Duran almost 3 years ago

  • Status changed from New to Assigned
  • Assignee set to Dominik Hlavac Duran

#5 Updated by Marek Hulán almost 3 years ago

  • Target version changed from 115 to 1.6.3

#6 Updated by The Foreman Bot almost 3 years ago

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

#7 Updated by Dominik Hlavac Duran almost 3 years ago

  • Related to Bug #16016: Usergroup Inherited Roles are not shown in hammer added

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

  • Target version changed from 1.6.3 to 1.6.0

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

  • Target version changed from 1.6.0 to 1.5.3

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

  • Target version changed from 1.5.3 to 1.5.0

#11 Updated by Marek Hulán over 2 years ago

  • Target version changed from 1.5.0 to 1.4.2

#12 Updated by Marek Hulán over 2 years ago

  • Target version changed from 1.4.2 to 1.4.4

#13 Updated by Dominik Hlavac Duran over 2 years ago

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

#14 Updated by Dominic Cleal over 2 years ago

  • Legacy Backlogs Release (now unused) set to 189

#15 Updated by Daniel Lobato Garcia almost 2 years ago

  • Bugzilla link set to 1426957

Also available in: Atom PDF