From 08adceab4b42141c4f3a7e871f94535e6ca46747 Mon Sep 17 00:00:00 2001 From: Tony Mack Date: Thu, 19 Jul 2007 16:43:22 +0000 Subject: [PATCH] - fix bug limited what nodes were returned to non admins --- PLC/Methods/GetNodes.py | 1 + 1 file changed, 1 insertion(+) diff --git a/PLC/Methods/GetNodes.py b/PLC/Methods/GetNodes.py index b0e8c0f3..38dc8f01 100644 --- a/PLC/Methods/GetNodes.py +++ b/PLC/Methods/GetNodes.py @@ -43,6 +43,7 @@ class GetNodes(Method): for node in nodes: # if node has whitelist, make sure the user has a slice on the whitelist if 'slice_ids_whitelist' in node and \ + node['slice_ids_whitelist'] and \ not slice_ids.intersection(node['slice_ids_whitelist']): nodes.remove(node) continue -- 2.47.0