From 8c952d8a400d444d40b8613f0db25f997162f214 Mon Sep 17 00:00:00 2001 From: Thierry Parmentelat Date: Tue, 7 Dec 2010 16:25:03 +0100 Subject: [PATCH] allow tech to Get node and interface tags --- PLC/Methods/GetInterfaceTags.py | 2 +- PLC/Methods/GetNodeTags.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/PLC/Methods/GetInterfaceTags.py b/PLC/Methods/GetInterfaceTags.py index ad87af6..8117cca 100644 --- a/PLC/Methods/GetInterfaceTags.py +++ b/PLC/Methods/GetInterfaceTags.py @@ -22,7 +22,7 @@ class GetInterfaceTags(Method): the specified details will be returned. """ - roles = ['admin', 'pi', 'user', 'node'] + roles = ['admin', 'pi', 'user', 'tech', 'node'] accepts = [ Auth(), diff --git a/PLC/Methods/GetNodeTags.py b/PLC/Methods/GetNodeTags.py index 4ecd802..3ae9fd6 100644 --- a/PLC/Methods/GetNodeTags.py +++ b/PLC/Methods/GetNodeTags.py @@ -22,7 +22,7 @@ class GetNodeTags(Method): the specified details will be returned. """ - roles = ['admin', 'pi', 'user', 'node'] + roles = ['admin', 'pi', 'user', 'tech', 'node'] accepts = [ Auth(), -- 2.43.0