-
Bug
-
Resolution: Unresolved
-
Major
-
None
-
6.15.z
Description of problem:
A user with the edit_hosts permission should be able to change the content source on a host. However, in the GUI, the lifecycle environments are not listed. Checking the request to get the LEs, it's like:
https://satellite.example.com/katello/api/v2/organizations/1/environments/paths?permission_type=promotable&content_source_id=2
As I understand, it should use permission_type=readable instead..
How reproducible:
Easy
Is this issue a regression from an earlier version:
Don't think so
Steps to Reproduce:
- create a user with a role that has the minimum permissions:
hammer --csv role filter --id 33
Id,Resource type,Search,Unlimited?,Override?,Role,Permissions
357,Katello::KTEnvironment,none,true,false,takae_test,"view_lifecycle_environments, edit_lifecycle_environments"
358,Host,none,true,false,takae_test,"view_hosts, edit_hosts, build_hosts"
359,Katello::ContentView,none,true,false,takae_test,"view_content_views, edit_content_views"
2. use below procedure to change the content source on a host.:
* In the Satellite web UI, navigate to Hosts > All Hosts.
- Click the name of the host you want to modify.
- Click the vertical ellipsis icon next to the Edit button and select Change content source.
- Select Content Source, Lifecycle Content View, and Content Source from the lists.
- click Change content source.
3.
Actual behavior:
Lifecycle environments are not displayed
Expected behavior:
Lifecycle environments should be displayed
Business Impact / Additional info:
- account is impacted by
-
SAT-18706 promote_or_remove_content_views and promote_or_remove_content_views_to_environments both role needs to be renamed or merged
- Backlog