git://git.onelab.eu
/
plcapi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
80bb484
)
Added the role 'node' to the DeleteSliceTag method. It makes sense that
ipv6
author
Guilherme Sperb Machado
<gsm@machados.org>
Tue, 16 Sep 2014 23:57:36 +0000
(
01:57
+0200)
committer
Guilherme Sperb Machado
<gsm@machados.org>
Tue, 16 Sep 2014 23:57:36 +0000
(
01:57
+0200)
nodes can delete slice tags.
PLC/Methods/DeleteSliceTag.py
patch
|
blob
|
history
diff --git
a/PLC/Methods/DeleteSliceTag.py
b/PLC/Methods/DeleteSliceTag.py
index
5464fbc
..
ec11b41
100644
(file)
--- a/
PLC/Methods/DeleteSliceTag.py
+++ b/
PLC/Methods/DeleteSliceTag.py
@@
-27,7
+27,7
@@
class DeleteSliceTag(Method):
Returns 1 if successful, faults otherwise.
"""
- roles = ['admin', 'pi', 'user', 'tech']
+ roles = ['admin', 'pi', 'user', 'tech'
, 'node'
]
accepts = [
Auth(),