Bug 2181595 - Internal user with the role 'Ansible Roles Manager' could not able to edit/override the ansible variable
Summary: Internal user with the role 'Ansible Roles Manager' could not able to edit/ov...
Keywords:
Status: ASSIGNED
Alias: None
Product: Red Hat Satellite
Classification: Red Hat
Component: Ansible
Version: 6.12.0
Hardware: All
OS: All
unspecified
medium
Target Milestone: Unspecified
Assignee: nalfassi
QA Contact: Satellite QE Team
URL:
Whiteboard:
: 2210309 (view as bug list)
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2023-03-24 16:45 UTC by afrid shaikh
Modified: 2023-08-17 11:44 UTC (History)
6 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed:
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
PFA (214.95 KB, image/png)
2023-03-24 16:45 UTC, afrid shaikh
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Foreman Issue Tracker 36273 0 Normal New Internal user with the role 'Ansible Roles Manager' could not able to edit/override the ansible variable 2023-04-04 07:55:05 UTC
Github theforeman foreman_ansible pull 633 0 None open Fixes #36273 - Use proper permission for editing a variable 2023-05-29 07:02:02 UTC
Red Hat Knowledge Base (Solution) 7015370 0 None None None 2023-05-28 15:34:13 UTC

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. ***


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