Bug 2181595

Summary: Internal user with the role 'Ansible Roles Manager' could not able to edit/override the ansible variable
Product: Red Hat Satellite Reporter: afrid shaikh <shmohamm>
Component: Ansible - Configuration ManagementAssignee: nalfassi
Status: CLOSED ERRATA QA Contact: addubey
Severity: medium Docs Contact: Zuzana Lena Ansorgova <zuansorg>
Priority: medium    
Version: 6.12.0CC: addubey, ahumbe, bgajjava, mhulan, momran, nalfassi, oezr, osousa, pmoravec, rlavi, smeyer, snarya, zuansorg
Target Milestone: 6.15.0   
Target Release: Unused   
Hardware: All   
OS: All   
Whiteboard:
Fixed In Version: rubygem-foreman_ansible-13.0.0 Doc Type: Bug Fix
Doc Text:
.Non-admin users can override Ansible variables Previously, Satellite users other than the System Administrator could not override Ansible variables even when they were assigned the Ansible Roles Manager user role. With this release, permissions have been corrected and non-admin users can override Ansible variables.
Story Points: ---
Clone Of: Environment:
Last Closed: 2024-04-23 17:14:00 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
PFA none

Description afrid shaikh 2023-03-24 16:45:13 UTC
Created attachment 1953410 [details]
PFA

Description of problem:
ON the Satellite Web-UI. internal user with the role 'Ansible Roles Manager' could not able to edit/override the ansible variable
ansible variable is showing grayed out and cannot be overridden. 
If you are an "Organization Administrator", the variable is not grayed out and the variable value can be overridden.

Version-Release number of selected component (if applicable):
satellite 6.12

How reproducible:
created a local satellite user, and provided the ansible role manager.
as a user when we tried to log in, we can not able to edit/override the ansible variable. we have the option for creating a variable and deleting it only.

Steps to Reproduce:
1. create an internal satellite user.
2. provide an Ansible Roles Manager role to the user
3. login and try to edit the ansible variable. it would be greyed out.

Actual results:
As a local user, the ansible variable is greyed out and could not able to modify

Expected results: 
As a local user with Ansible Roles Manager, should have access to edit the ansible variable.

Additional info:

Comment 1 nalfassi 2023-04-04 07:55:03 UTC
Created redmine issue https://projects.theforeman.org/issues/36273 from this bug

Comment 2 nalfassi 2023-05-28 15:34:14 UTC
*** Bug 2210309 has been marked as a duplicate of this bug. ***

Comment 6 Brad Buckingham 2023-10-30 11:29:29 UTC
Bulk setting Target Milestone = 6.15.0 where sat-6.15.0+ is set.

Comment 7 Bryan Kearney 2023-11-06 20:02:27 UTC
Moving this bug to POST for triage into Satellite since the upstream issue https://projects.theforeman.org/issues/36273 has been resolved.

Comment 15 errata-xmlrpc 2024-04-23 17:14:00 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory (Important: Satellite 6.15.0 release), and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHSA-2024:2010