Merge remote-tracking branch 'origin/pycurl' into planetlab-4_0-branch
[plcapi.git] / PLC / Methods / GetRoles.py
index ba15ee1..0456662 100644 (file)
@@ -9,7 +9,7 @@ class GetRoles(Method):
     Get an array of structs containing details about all roles.
     """
 
-    roles = ['admin', 'pi', 'user', 'tech']
+    roles = ['admin', 'pi', 'user', 'tech', 'node']
 
     accepts = [
         Auth()
@@ -17,8 +17,5 @@ class GetRoles(Method):
 
     returns = [Role.fields]
     
-    event_type = 'Get'
-    object_type = 'Role'
-
     def call(self, auth):
        return Roles(self.api)