X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=PLC%2FMethods%2FGetConfFiles.py;h=89d5250d8f56d55a6e19be6957c3c96995fec3c4;hb=8a488f82ba7892d6a6eb1265f0f327ec75b71149;hp=582f6112096566d6ad636dfff704a175d714fe47;hpb=8e199f468aaf48ac1dad3090c149711f38aa6c38;p=plcapi.git diff --git a/PLC/Methods/GetConfFiles.py b/PLC/Methods/GetConfFiles.py index 582f611..89d5250 100644 --- a/PLC/Methods/GetConfFiles.py +++ b/PLC/Methods/GetConfFiles.py @@ -15,7 +15,7 @@ class GetConfFiles(Method): details will be returned. """ - roles = ['admin'] + roles = ['admin', 'node'] accepts = [ Auth(), @@ -26,8 +26,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)