svn keywords
[plcapi.git] / PLC / Methods / GetAddresses.py
index bff3b73..a45cc87 100644 (file)
@@ -1,3 +1,5 @@
+# $Id$
+# $URL$
 from PLC.Faults import *
 from PLC.Method import Method
 from PLC.Parameter import Parameter, Mixed
@@ -14,7 +16,7 @@ class GetAddresses(Method):
     specified, only the specified details will be returned.
     """
 
-    roles = ['admin', 'pi', 'user', 'tech']
+    roles = ['admin', 'pi', 'user', 'tech', 'node']
 
     accepts = [
         Auth(),
@@ -25,8 +27,6 @@ class GetAddresses(Method):
 
     returns = [Address.fields]
     
-    event_type = 'Get'
-    object_type = 'Address'
 
     def call(self, auth, address_filter = None, return_fields = None):
         return Addresses(self.api, address_filter, return_fields)