Merge commit 'origin/master'
[plcapi.git] / PLC / Methods / GetPeerName.py
index ba5a5a7..5b194fa 100644 (file)
@@ -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()]