X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=PLC%2FMethods%2FGetMessages.py;h=cc18ca41922f2160a208d9f71dccae718e3ee5fb;hb=f8bce9cd90ecc06764de75af5bb0b456924d7cee;hp=1c9931fde37c23ff313b280779e6098b9cfc9fc8;hpb=34e1a55391f712d24f3932b98c7f26fcbd84baea;p=plcapi.git diff --git a/PLC/Methods/GetMessages.py b/PLC/Methods/GetMessages.py index 1c9931f..cc18ca4 100644 --- a/PLC/Methods/GetMessages.py +++ b/PLC/Methods/GetMessages.py @@ -1,3 +1,5 @@ +# $Id$ +# $URL$ from PLC.Faults import * from PLC.Method import Method from PLC.Parameter import Parameter, Mixed @@ -9,13 +11,13 @@ class GetMessages(Method): """ Returns an array of structs containing details about message templates. If message template_filter is specified and is an array - of message template identifiers or hostnames, or a struct of - message template attributes, only message templates matching the - filter will be returned. If return_fields is specified, only the - specified details will be returned. + of message template identifiers, or a struct of message template + attributes, only message templates matching the filter will be + returned. If return_fields is specified, only the specified + details will be returned. """ - roles = ['admin'] + roles = ['admin', 'node'] accepts = [ Auth(),