From dc9f50f93ecd9ff6c1a85a87a56216e08e667b47 Mon Sep 17 00:00:00 2001 From: Marc Fiuczynski Date: Thu, 9 Jul 2009 13:13:12 +0000 Subject: [PATCH] open up to let node's add/update sliver tags --- PLC/Methods/AddSliceTag.py | 2 +- PLC/Methods/UpdateSliceTag.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/PLC/Methods/AddSliceTag.py b/PLC/Methods/AddSliceTag.py index 96ad009..9a36711 100644 --- a/PLC/Methods/AddSliceTag.py +++ b/PLC/Methods/AddSliceTag.py @@ -25,7 +25,7 @@ class AddSliceTag(Method): otherwise. """ - roles = ['admin', 'pi', 'user'] + roles = ['admin', 'pi', 'user', 'node'] accepts = [ Auth(), diff --git a/PLC/Methods/UpdateSliceTag.py b/PLC/Methods/UpdateSliceTag.py index f5ab3eb..59bafc8 100644 --- a/PLC/Methods/UpdateSliceTag.py +++ b/PLC/Methods/UpdateSliceTag.py @@ -19,7 +19,7 @@ class UpdateSliceTag(Method): Returns 1 if successful, faults otherwise. """ - roles = ['admin', 'pi', 'user'] + roles = ['admin', 'pi', 'user', 'node'] accepts = [ Auth(), -- 2.43.0