Project

General

Profile

Bug #18167

lifecycle environments UI page not showing correct environments based upon permissions

Added by Thomas McKay over 2 years ago. Updated 11 months ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
Lifecycle Environments
Target version:
Difficulty:
Triaged:
Yes
Bugzilla link:
Pull request:
Team Backlog:
Tom
Fixed in Releases:
Found in Releases:

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 correct environments based upon permissionsNew2017-01-19

History

#1 Updated by Thomas McKay over 2 years ago

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

#3 Updated by Thomas McKay over 2 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 2 years ago

  • Legacy Backlogs Release (now unused) set to 114

Also available in: Atom PDF