- modified PasswordAuth.check to be case insensitive when checking email address
[plcapi.git] / PLC / Methods / GetNodeNetworks.py
index db348a5..558dcf3 100644 (file)
@@ -15,7 +15,7 @@ class GetNodeNetworks(Method):
     specified details will be returned.
     """
 
-    roles = ['admin', 'pi', 'user', 'tech']
+    roles = ['admin', 'pi', 'user', 'tech', 'node', 'anonymous']
 
     accepts = [
         Auth(),
@@ -26,8 +26,5 @@ class GetNodeNetworks(Method):
 
     returns = [NodeNetwork.fields]
     
-    event_type = 'Get'
-    object_type = 'NodeNetwork'
-
     def call(self, auth, nodenetwork_filter = None, return_fields = None):
         return NodeNetworks(self.api, nodenetwork_filter, return_fields)