X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=PLC%2FMethods%2FGetNodeTags.py;h=3ae9fd6df77deb02f6b5fe413d127c7fe1a5c358;hb=1d3540bd2ece27d91a2ec5843628c5fa38a25024;hp=fd53dcd5c722fb4ef04e071a12d7d1f446d80a28;hpb=7ba889dd89500f8c0695ef21bfda28291bb4f9da;p=plcapi.git diff --git a/PLC/Methods/GetNodeTags.py b/PLC/Methods/GetNodeTags.py index fd53dcd..3ae9fd6 100644 --- a/PLC/Methods/GetNodeTags.py +++ b/PLC/Methods/GetNodeTags.py @@ -1,8 +1,6 @@ # # Thierry Parmentelat - INRIA # -# $Revision: 9423 $ -# from PLC.Faults import * from PLC.Method import Method from PLC.Parameter import Parameter, Mixed @@ -24,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(), @@ -35,7 +33,7 @@ class GetNodeTags(Method): ] returns = [NodeTag.fields] - + def call(self, auth, node_tag_filter = None, return_fields = None):