allow tech to Get node and interface tags
authorThierry Parmentelat <thierry.parmentelat@sophia.inria.fr>
Tue, 7 Dec 2010 15:25:03 +0000 (16:25 +0100)
committerThierry Parmentelat <thierry.parmentelat@sophia.inria.fr>
Tue, 7 Dec 2010 15:25:03 +0000 (16:25 +0100)
PLC/Methods/GetInterfaceTags.py
PLC/Methods/GetNodeTags.py

index ad87af6..8117cca 100644 (file)
@@ -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(),
index 4ecd802..3ae9fd6 100644 (file)
@@ -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(),