git://git.onelab.eu
/
plcapi.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge remote-tracking branch 'origin/pycurl' into planetlab-4_0-branch
[plcapi.git]
/
PLC
/
Methods
/
GetRoles.py
diff --git
a/PLC/Methods/GetRoles.py
b/PLC/Methods/GetRoles.py
index
7d7c264
..
0456662
100644
(file)
--- a/
PLC/Methods/GetRoles.py
+++ b/
PLC/Methods/GetRoles.py
@@
-9,7
+9,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
+17,5
@@
class GetRoles(Method):
returns = [Role.fields]
-
def call(self, auth):
return Roles(self.api)