X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=PLC%2FMethods%2FBootNotifyOwners.py;h=3564814bacff0a24dc381d1510de34afe2a33eee;hb=b0164a712bd25c86814051931760707b2a619ad6;hp=81a7cb01b7b9f81f587abbc1382907d28b6e37f1;hpb=c31715a2ac263b730da41ef7d5ff41d15af4357f;p=plcapi.git diff --git a/PLC/Methods/BootNotifyOwners.py b/PLC/Methods/BootNotifyOwners.py index 81a7cb0..3564814 100644 --- a/PLC/Methods/BootNotifyOwners.py +++ b/PLC/Methods/BootNotifyOwners.py @@ -1,3 +1,5 @@ +# $Id$ +# $URL$ from PLC.Method import Method from PLC.Parameter import Parameter, Mixed from PLC.Auth import Auth, BootAuth, SessionAuth @@ -17,7 +19,7 @@ class BootNotifyOwners(Method): roles = ['node'] accepts = [ - Mixed(BootAuth(), SessionAuth()), + Auth(), Message.fields['message_id'], Parameter(int, "Notify PIs"), Parameter(int, "Notify technical contacts"),