Cacti: When clicking on Graph Details from an Aggregate Graph Tree node, permission denied notice is shown

Created on 3 Jan 2019  路  18Comments  路  Source: Cacti/cacti

After the Update from 1.1.38 to 1.2.0 i have problems to see the following data from a Aggregate Graph:

  • Graph Details
  • Time Graph View
  • Display Graphs from this Aggregate

With version 1.1.38 all works fine.
Issue only appears with aggregate Graphs.

2019-01-03_11-11-09

bug gui resolved

All 18 comments

I'll take a look. I don't recall a new permission being added for that but have you double checked your account permissions list?

I'll take a look. I don't recall a new permission being added for that but have you double checked your account permissions list?

Yes i checked my permissions settings.

I found a second bug in the web gui:
Checked with Firefox and Google Chrome
2019-01-03_12-25-16

OK, can you report that as a separate issue (may be related but more than likely a different one).

Are there any errors in your cacti log?

Are there any errors in your cacti log?

No errors / warnings etc in the cacti log.

I can confirm that this appears to be an issue with Aggregate graphs but ordinary graphs are OK.

This appears to be because the code is looking for a template. Am I correct in assuming that your aggregate graph does not have a template? (mine didn't).

2019-01-03_13-36-56

Can you run the following two SQL commands for me?

select * from aggregate_graphs where id = 843;
select * from aggregate_graph_templates;

select * from aggregate_graphs where id = 843;

firefox_2019-01-03_14-10-19

Where do you get the id 843 ? Do you mean 840 ?

select * from aggregate_graph_templates;

firefox_2019-01-03_14-10-54

Yes I did. Sorry, it was my monitor and my bad eyesight :)

firefox_2019-01-03_14-43-12

I think it might be better to get a db dump for analysis. Permissions seem to work on my system. It has to be some combination of security settings.

Give me an mail adress and i will send you an dump of the database.

send it to [email protected] so that we can both receive it.

@DavidLiedke, I think I may have found the issue. Can you please get the latest lib/auth.php from the develop branch and try that out?

Perfect - with the latest lib/auth.php it works :) Thanks @netniV

Was this page helpful?
0 / 5 - 0 ratings