From 4ee3e529f82882dd7e9c41066cf318c751e517d2 Mon Sep 17 00:00:00 2001 From: Guilherme Sperb Machado Date: Wed, 17 Sep 2014 01:57:36 +0200 Subject: [PATCH] Added the role 'node' to the DeleteSliceTag method. It makes sense that nodes can delete slice tags. --- PLC/Methods/DeleteSliceTag.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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(), -- 2.43.0