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: AnsibleAssignee: nalfassi
Status: ASSIGNED --- QA Contact: Satellite QE Team <sat-qe-bz-list>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 6.12.0CC: bgajjava, mhulan, momran, nalfassi, oezr, pmoravec
Target Milestone: UnspecifiedKeywords: Triaged
Target Release: Unused   
Hardware: All   
OS: All   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 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. ***