From: Thierry Parmentelat Date: Tue, 7 Dec 2010 15:25:03 +0000 (+0100) Subject: allow tech to Get node and interface tags X-Git-Tag: plcapi-5.0-23~2 X-Git-Url: http://git.onelab.eu/?a=commitdiff_plain;h=8c952d8a400d444d40b8613f0db25f997162f214;p=plcapi.git allow tech to Get node and interface tags --- diff --git a/PLC/Methods/GetInterfaceTags.py b/PLC/Methods/GetInterfaceTags.py index ad87af6e..8117ccaf 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 4ecd802a..3ae9fd6d 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(),