Ticket #3078 (closed defect: Fixed)
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
Note: See
TracTickets for help on using
tickets.