Hypermap - pointless check
Posted: Thu Jul 05, 2018 3:30 am
Hi,
In hypermap component "index.php" there is this part:
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.
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();
}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.