svn keywords
[plcapi.git] / PLC / Methods / GetKeyTypes.py
index f8a554b..c6ccb35 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 GetKeyTypes(Method):
     Returns an array of all valid key types.
     """
 
-    roles = ['admin', 'pi', 'user', 'tech']
+    roles = ['admin', 'pi', 'user', 'tech', 'node']
 
     accepts = [
         Auth()
@@ -17,5 +19,6 @@ class GetKeyTypes(Method):
 
     returns = [KeyType.fields['key_type']]
 
+
     def call(self, auth):
         return [key_type['key_type'] for key_type in KeyTypes(self.api)]