Bug #35994
closedPermission denied on Ansible part of host page when usergroup of user have administrator role
Description
Cloned from https://bugzilla.redhat.com/show_bug.cgi?id=2158508
Description of problem:
With user which is non-admin but it is in usergroup which should give him administrator role is possible to access lot of pages, but on
WebUI -> Hosts -> select host -> Ansible
is shown below
Permission denied
You are not authorized to view the page. Request the following permissions from administrator: view_ansible_roles.
Version-Release number of selected component (if applicable):
satellite-6.12.0-4.el8sat.noarch
How reproducible:
Always
Steps to Reproduce:
1. Create user with non-admin (in my case ldap based)
2. Create usergroup with administrator role (in my case ldap based)
3. As user from (1) log in and try to access
WebUI -> Hosts -> select host -> Ansible
Actual results:
Permission denied
You are not authorized to view the page. Request the following permissions from administrator: view_ansible_roles.
Expected results:
See Ansible page as user should be administrator due to usergroup
Additional info:
Reproducer ready