+# $Id$
+# $URL$
from PLC.Faults import *
from PLC.Method import Method
from PLC.Parameter import Parameter, Mixed
Returns an array of all valid key types.
"""
- roles = ['admin', 'pi', 'user', 'tech']
+ roles = ['admin', 'pi', 'user', 'tech', 'node']
accepts = [
Auth()
returns = [KeyType.fields['key_type']]
+
def call(self, auth):
return [key_type['key_type'] for key_type in KeyTypes(self.api)]