lifecycle environments UI page not showing correct environments based upon permissions
|Target version:||Team Tom - backlog|
|Bugzilla link:||Found in Katello release:|
|Velocity based estimate||-|
|Release||Katello Backlog||Release relationship||Auto|
Below is the 'hammer csv roles --export' for a role I've created. The lifecycle environments page shows the "Library" environment. That in itself should not be the case. In addition the "Production" environment is not shown at all so is not clickable.
Clicking the Library I can see that the "Red Hat Container Catalog" is in it; that should not be permitted since I don't have rights to Library.
The details are also visible (name and label).
Name,Resource,Search,Permissions,Organizations,Locations Production Docker,Katello::KTEnvironment,name = Production,view_lifecycle_environments,Example Corporation,"" Production Docker,Katello::ContentView,"name = ""Red Hat Container Catalog""",view_content_views,Example Corporation,"" Production Docker,Katello::Product,"name = ""Red Hat Container Catalog""",view_products,Example Corporation,""