X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=PLC%2FMethods%2FGetPeerName.py;h=5b194fabb3d7b061c0b0df4e83fed05dfdbe54bd;hb=5afb8089a48433612fb10bed3c609006882b9859;hp=ba5a5a78be7a59557ca56dba1b2bb83d172a2cb5;hpb=a7dbd2bbf1062e223af4876e3f0cb2c5bec91cca;p=plcapi.git diff --git a/PLC/Methods/GetPeerName.py b/PLC/Methods/GetPeerName.py index ba5a5a7..5b194fa 100644 --- a/PLC/Methods/GetPeerName.py +++ b/PLC/Methods/GetPeerName.py @@ -1,3 +1,5 @@ +# $Id$ +# $URL$ from PLC.Method import Method from PLC.Parameter import Parameter from PLC.Auth import Auth @@ -9,7 +11,7 @@ class GetPeerName (Method): Returns this peer's name, as defined in the config as PLC_NAME """ - roles = ['admin', 'peer'] + roles = ['admin', 'peer', 'node'] accepts = [Auth()]