Hi
I have two systems set up:
ONE is a stand-alone system
TWO is a slave system (with no master, yet) and NodeID = 5
So, what's the difference ?
Here it goes:
I have a user group with read-only access to one hostgroup.
Everything is fine, except the following:
If a user in this user group accesses "Latest Data" for a certain host,
the data shows up.
On ONE (NodeID = 0) he can select "Graph" and the graph shows up.
On TWO (NodeID = 5) he can select "Graph" but the result is "No Permission".
Debugging shows that the list of "denyed_hosts" on TWO contains - more
or less - all hosts, while the "availiable_hosts" array contains only
those, which are permitted.
So I change the history.php to check for "not in ($availiable_hosts)" and
now it works as advertised
See patch in attached file.
The real problem seems to be in perm.inc.php but I didn't debug this, yet.
Regards
Norbert.
I have two systems set up:
ONE is a stand-alone system
TWO is a slave system (with no master, yet) and NodeID = 5
So, what's the difference ?
Here it goes:
I have a user group with read-only access to one hostgroup.
Everything is fine, except the following:
If a user in this user group accesses "Latest Data" for a certain host,
the data shows up.
On ONE (NodeID = 0) he can select "Graph" and the graph shows up.
On TWO (NodeID = 5) he can select "Graph" but the result is "No Permission".
Debugging shows that the list of "denyed_hosts" on TWO contains - more
or less - all hosts, while the "availiable_hosts" array contains only
those, which are permitted.
So I change the history.php to check for "not in ($availiable_hosts)" and
now it works as advertised

See patch in attached file.
The real problem seems to be in perm.inc.php but I didn't debug this, yet.
Regards
Norbert.