Archived community.zenoss.org | full text search
Skip navigation
2707 Views 2 Replies Latest reply: Jun 24, 2011 2:24 PM by jcurry RSS
jcurry ZenossMaster 1,021 posts since
Apr 15, 2008
Currently Being Moderated

Jun 20, 2011 9:21 AM

Permissions to view graphs for a device

I am trying to adjust permissions so that a Zenoss user ONLY sees devices he is authorised to see (based on Locations, Groups and Systems).  I have things working so that he only sees events for the correct devices (and if authorised, he can Ack and Close events) but the problem is that the Graphs menu - both the main left-hand Graphs and the Graphs dropdown menu from a component Display - only show the header information for the graphs - there's no data.

 

I have customised this by removing ALL roles from a user's configuration and then applied access to categories of devices using the Administerd Objects technique - my test user has all the ZenUser roles plus Manage Events..

ho_graphs_for_c2.jpg

 

There is more related info at message/59100 .

 

If I give a user a role that ONLY has a global View permission then the graphs show OK.

 

I have dug through all sorts of files and code looking for permission settings that control the graphs.  Basically, it is $ZENHOME/Products/ZenModel/skins/zenmodel/viewPerformanceDetail.pt that drives graphs and it seems to have a mysterious (to me) javascript var ZenGraphs that seems to be responsible for actually displaying the graphs, but I don't see anything controlling permissions.

 

The target is to have a ZenPack that can offer more by way of role control for Zenoss Core.

 

Is there anyone can offer help???

 

Cheers,

Jane

More Like This

  • Retrieving data ...

Legend

  • Correct Answers - 4 points
  • Helpful Answers - 2 points