svn keywords
[plcapi.git] / PLC / Methods / GetConfFiles.py
index 582f611..0edf8b7 100644 (file)
@@ -1,3 +1,5 @@
+# $Id$
+# $URL$
 from PLC.Faults import *
 from PLC.Method import Method
 from PLC.Parameter import Parameter, Mixed
@@ -15,7 +17,7 @@ class GetConfFiles(Method):
     details will be returned.
     """
 
-    roles = ['admin']
+    roles = ['admin', 'node']
 
     accepts = [
         Auth(),
@@ -26,8 +28,6 @@ class GetConfFiles(Method):
 
     returns = [ConfFile.fields]
 
-    event_type = 'Get'
-    object_type = 'ConfFile'
 
     def call(self, auth, conf_file_filter = None, return_fields = None):
         return ConfFiles(self.api, conf_file_filter, return_fields)