Project

General

Profile

Actions

Bug #21584

closed

/statistics page does not respect organization context for admin user

Added by Marek Hulán over 6 years ago. Updated almost 6 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Dashboard
Target version:
Difficulty:
Triaged:
Fixed in Releases:
Found in Releases:

Description

Cloned from https://bugzilla.redhat.com/show_bug.cgi?id=1510064

Description of problem:
this seems to worked prior snap #21:

when i access the /statistics page as admin user, the widget seem to contain data from all orgs&locs, not respecting the chosen context.
- e.g. OS distribution across hosts, or Architectures - if i have some hosts belonging to Org A, I still can see them counted in the chart even if i have Org B selected.

When i access the page using another user with Manager role assigned, this seems to perform correctly.

Version-Release number of selected component (if applicable):
6.3.0-21 / Foreman nightly

How reproducible:

Steps to Reproduce:
1. have some hosts created in orgA
2. as admin, navigate to dashboard -> statistics
3. switch between organization contexts and notice, the stats are not changing (at least for OS and arch distributions over hosts)

[4.] try all the above with a custom user with Manager role and all orgs assigned.

Actions

Also available in: Atom PDF