Bug #18167
lifecycle environments UI page not showing correct environments based upon permissions
Description
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,""
Related issues
History
#1
Updated by Thomas McKay over 5 years ago
- Copied to Bug #18168: content view docker repositories UI page not showing correct environments based upon permissions added
#2
Updated by Justin Sherrill over 5 years ago
possible dupe of http://projects.theforeman.org/issues/18034
#3
Updated by Thomas McKay over 5 years ago
- Target version set to 155
Related to https://github.com/Katello/katello/pull/6535
If Library isn't returned in api results then the UI fails to load.
#4
Updated by Justin Sherrill over 5 years ago
- Legacy Backlogs Release (now unused) set to 114