Hypermap - pointless check

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
jacek
Posts: 255
Joined: Wed Sep 09, 2015 5:49 am

Hypermap - pointless check

Post by jacek »

Hi,

In hypermap component "index.php" there is this part:

Code: Select all

if (is_authorized_for_all_objects() == false) {
echo gettext("You are not authorized to view all hosts and
services.");
exit();
}
Which is kind of pointless in my opinion, only users that can view all objects are able to use the hypermap and in the same time the Network Status Map doesn't have this limitation.
If You comment out this part from the code, then all users are able to see the hypermap, and (as expected) they only can see things they have access to.
So this kind of makes better sense.

I comment that out after each upgrade, but I think You should consider changing that in the system permanently.
tmcdonald
Posts: 9117
Joined: Mon Sep 23, 2013 8:40 am

Re: Hypermap - pointless check

Post by tmcdonald »

I sent this along to the devs and got a +1 assuming it passes QA. Thanks for the suggestion!
Former Nagios employee
jacek
Posts: 255
Joined: Wed Sep 09, 2015 5:49 am

Re: Hypermap - pointless check

Post by jacek »

Cool! :)
tmcdonald
Posts: 9117
Joined: Mon Sep 23, 2013 8:40 am

Re: Hypermap - pointless check

Post by tmcdonald »

Yep! Sounds like they're on board with it, so I am going to lock this thread up now.
Former Nagios employee
Locked