+# $Id$
+# $URL$
from PLC.Faults import *
from PLC.Method import Method
from PLC.Parameter import Parameter, Mixed
Get an array of structs containing details about all roles.
"""
- roles = ['admin', 'pi', 'user', 'tech']
+ roles = ['admin', 'pi', 'user', 'tech', 'node']
accepts = [
Auth()
returns = [Role.fields]
- event_type = 'Get'
- object_type = 'Role'
-
def call(self, auth):
return Roles(self.api)