Bug #18167

lifecycle environments UI page not showing correct environments based upon permissions

Added by Thomas McKay 2 months ago. Updated about 1 month ago.

Status:New
Priority:Normal
Assigned To:-
Category:Lifecycle Environments
Target version:Team Tom - backlog
Difficulty: Pull request:
Bugzilla link:
Story points-
Velocity based estimate-
ReleaseBacklogRelease relationshipAuto

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

Copied to Katello - Bug #18168: content view docker repositories UI page not showing corr... New 01/19/2017

History

#1 Updated by Thomas McKay 2 months ago

  • Copied to Bug #18168: content view docker repositories UI page not showing correct environments based upon permissions added

#3 Updated by Thomas McKay about 1 month ago

  • Target version set to Team Tom - backlog

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 about 1 month ago

  • Release set to Backlog

Also available in: Atom PDF