Bug 1220781 - assigning ak_roles at user_group level to users seems to have no effect
Summary: assigning ak_roles at user_group level to users seems to have no effect
Keywords:
Status: CLOSED DUPLICATE of bug 1221971
Alias: None
Product: Red Hat Satellite
Classification: Red Hat
Component: Users & Roles
Version: 6.1.0
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: Unspecified
Assignee: Stephen Benjamin
QA Contact: Katello QA List
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-05-12 12:37 UTC by Kedar Bidarkar
Modified: 2017-02-23 20:03 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2015-05-15 11:18:09 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Kedar Bidarkar 2015-05-12 12:37:58 UTC
Description of problem:
assigning ak_roles at user_group level to users seems to have no affect

Version-Release number of selected component (if applicable):
sat6.1-GA-SNAP3-compose2

How reproducible:


Steps to Reproduce:
1. configure LDAP authentication using http://theforeman.org/manuals/1.8/index.html#4.1.1LDAPAuthentication
2. create a user-group with external user-group (example Active Directory)
3. create a ak_role via the roles and assign only the "activation keys" permissions via the filters.
4. assign the role "ak_role" at the user_group level
5. 

Actual results:
login via the user which is part of the external user-group , to observer that the user cannot perform "ak" roles.

Expected results:
ogin via the user which is part of the external user-group , to observer that the user can perform "ak" roles.

Additional info:

Comment 2 Brad Buckingham 2015-05-12 17:07:56 UTC
Kedar, does this happen outside of LDAP as well?

Comment 3 Kedar Bidarkar 2015-05-12 18:11:52 UTC
this happens only when roles are assigned at the user_group level.

when assigning the role with "activation keys permissions" to user directly it works fine.

Comment 4 Kedar Bidarkar 2015-05-12 18:14:50 UTC
ah! ok, I know exactly what you are asking, need to check, will update here soon.

Comment 5 Kedar Bidarkar 2015-05-12 18:25:21 UTC
Important Update:

strange, looks like this is only when we are using "LDAP authentication" and assigning the role at "user-group" level only.

Comment 6 Kedar Bidarkar 2015-05-12 18:42:00 UTC
works fine when using for a normal user with auth source as "INTERNAL".

Comment 7 Kedar Bidarkar 2015-05-15 10:41:53 UTC
I investigated further and it looks like, the issue is actually different.

Actually it is,

Adding/Updating roles at user_group level to users seems to have no effect.

Will close this bug and raise a new bug. Sorry for the confusion.

Comment 8 Kedar Bidarkar 2015-05-15 11:18:09 UTC

*** This bug has been marked as a duplicate of bug 1221971 ***

Comment 9 Kedar Bidarkar 2015-05-15 11:18:52 UTC
The bug description is more appropriate in bug 1221971


Note You need to log in before you can comment on or make changes to this bug.