Project

General

Profile

Actions

Bug #15232

closed

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

Added by Simon Mügge over 8 years ago. Updated over 6 years ago.

Status:
Closed
Priority:
Normal
Category:
Users, Roles and Permissions
Target version:
Difficulty:
Triaged:
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 2 (0 open2 closed)

Related to Foreman - Bug #15231: Usergroup Inherited Roles are not shown to Users in "My Account/Roles" tab Rejected05/30/2016Actions
Related to Hammer CLI - Bug #16016: Usergroup Inherited Roles are not shown in hammerClosedDominik Hlavac Duran08/09/2016Actions
Actions

Also available in: Atom PDF