svn keywords
[plcapi.git] / PLC / Methods / GetRoles.py
index 7d7c264..ae1c314 100644 (file)
@@ -1,3 +1,5 @@
+# $Id$
+# $URL$
 from PLC.Faults import *
 from PLC.Method import Method
 from PLC.Parameter import Parameter, Mixed
@@ -9,7 +11,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,6 +19,5 @@ class GetRoles(Method):
 
     returns = [Role.fields]
     
-
     def call(self, auth):
        return Roles(self.api)