X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=PLC%2FMethods%2FGetRoles.py;h=0456662378d1cdf67e074784ccd0c932f1928793;hb=3a24db70ba35a4ffb85d5e7c761b5dbc87b93e40;hp=a53d775e58f7ecca4f0a5eef028333ba01146752;hpb=e347fc823bbba9d88a3fddf07d5c21024dfd1e55;p=plcapi.git diff --git a/PLC/Methods/GetRoles.py b/PLC/Methods/GetRoles.py index a53d775..0456662 100644 --- a/PLC/Methods/GetRoles.py +++ b/PLC/Methods/GetRoles.py @@ -9,13 +9,13 @@ 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() ] returns = [Role.fields] - + def call(self, auth): return Roles(self.api)