- changed gpg_verify() calling convention
[plcapi.git] / PLC / Methods / GetNodeGroups.py
index 38d0618..f4927ef 100644 (file)
@@ -14,7 +14,7 @@ class GetNodeGroups(Method):
     is specified, only the specified details will be returned.
     """
 
-    roles = ['admin', 'pi', 'user', 'tech']
+    roles = ['admin', 'pi', 'user', 'tech', 'node', 'anonymous']
 
     accepts = [
         Auth(),
@@ -25,8 +25,6 @@ class GetNodeGroups(Method):
         ]
 
     returns = [NodeGroup.fields]
-    event_type = 'Get'
-    object_type = 'NodeGroup'
   
     def call(self, auth, nodegroup_filter = None, return_fields = None):
        return NodeGroups(self.api, nodegroup_filter, return_fields)