Ticket #3078 (closed defect: Fixed)

Opened 7 months ago

Last modified 7 weeks ago

Network Dependencies fail from remote user permission errors

Reported by: cgibbons Owned by: cgibbons
Priority: 2 - High Milestone: zenoss-2.2
Component: ZenHub Version: 2.1.3
Keywords: Cc:
Community Patch Attached: Deployed @ Customer:
Installer: Maintenance Target:
Specific ZenPack: Maintenance Status:
Documentation Note?: Not required Regression:

Description

At line 105 in pingtree.py, the following command will fail to return any data:

netobj = device.getDmdRoot("Networks").getNet(ip)

Debugging further shows that the following lines of code in Organizer.py remove all of the children objects from the Networks object when this call is made:
131 if checkPerm:
132 kids = [ kid for kid in kids if self.checkRemotePerm(ZEN_VIEW, kid)]

A debugging session in zenhub found that the current user session when this call was made was 'Anonymous User' preventing the checkRemotePerm() call from returning True in this context.

Change History

Changed 7 months ago by cgibbons

  • status changed from new to closed
  • resolution set to fixed

(In [9166]) * Fixes #3078

Changed 7 months ago by cgibbons

(In [9167]) * refs #3078 : merging changes from mainline into 2.2.x branch

Changed 7 weeks ago by bbibeault

  • reviewed set to 1
Note: See TracTickets for help on using tickets.