Skip to content
This repository has been archived by the owner on Jul 11, 2022. It is now read-only.

Commit

Permalink
Bug 1312847 - Report "Suspect Metrics" is empty for user in "All Reso…
Browse files Browse the repository at this point in the history
…urces" role
  • Loading branch information
ruben.vargas committed Mar 23, 2016
1 parent 9c19651 commit b1b3151
Showing 1 changed file with 2 additions and 1 deletion.
Expand Up @@ -393,7 +393,8 @@ public PageList<MeasurementOOBComposite> getSchedulesWithOOBs(Subject subject, S

pc.initDefaultOrderingField("o.oobFactor", PageOrdering.DESC);

boolean isAdmin = authMangager.isOverlord(subject) || authMangager.isSystemSuperuser(subject);
boolean isAdmin = authMangager.isOverlord(subject) || authMangager.isSystemSuperuser(subject)
|| authMangager.isInventoryManager(subject);

String queryName = isAdmin ? MeasurementOOB.GET_SCHEDULES_WITH_OOB_AGGREGATE_ADMIN
: MeasurementOOB.GET_SCHEDULES_WITH_OOB_AGGREGATE;
Expand Down

0 comments on commit b1b3151

Please sign in to comment.