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
Updated by Nofar Alfassi almost 2 years ago
- Subject changed from Permission denied on Ansible part of host page when usergroup of user have administrator role to Permission denied on Ansible part of host page when usergroup of user have administrator role
- Assignee set to Nofar Alfassi
- Target version changed from foreman_ansible-10.0.0 to foreman_ansible-11.0.0
Updated by The Foreman Bot almost 2 years ago
- Status changed from New to Ready For Testing
- Pull request https://github.com/theforeman/foreman_ansible/pull/587 added
Updated by The Foreman Bot almost 2 years ago
- Fixed in Releases foreman_ansible-11.0.0 added
Updated by Nofar Alfassi almost 2 years ago
- Status changed from Ready For Testing to Closed
Applied in changeset foreman_ansible|e9ac79c209d469bb247ffd488f68d62e0b569869.
Updated by The Foreman Bot almost 2 years ago
- Pull request https://github.com/theforeman/foreman_ansible/pull/593 added
Updated by The Foreman Bot almost 2 years ago
- Fixed in Releases foreman_ansible-10.0.0 added
Updated by Nofar Alfassi almost 2 years ago
- Fixed in Releases foreman_ansible-10.4.0, foreman_ansible-11.1.0 added
- Fixed in Releases deleted (
foreman_ansible-10.0.0, foreman_ansible-11.0.0)