From: Guilherme Sperb Machado Date: Tue, 16 Sep 2014 23:57:36 +0000 (+0200) Subject: Added the role 'node' to the DeleteSliceTag method. It makes sense that X-Git-Tag: plcapi-5.3-6~4 X-Git-Url: http://git.onelab.eu/?p=plcapi.git;a=commitdiff_plain;h=4ee3e529f82882dd7e9c41066cf318c751e517d2 Added the role 'node' to the DeleteSliceTag method. It makes sense that nodes can delete slice tags. --- diff --git a/PLC/Methods/DeleteSliceTag.py b/PLC/Methods/DeleteSliceTag.py index 5464fbc..ec11b41 100644 --- 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(),