X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=PLC%2FMethods%2FBootNotifyOwners.py;h=7458b9dee1fbfbe40cd803d6aed92945aa9ae392;hb=bd0cbf4f7f2e4cf7ceda500bfa6f98c0a700018b;hp=cf4c54e78f1b0660eafcdf051373ecf3f6cc1e41;hpb=fcd65035460febcbd0835eb69dca269b4d9d2319;p=plcapi.git diff --git a/PLC/Methods/BootNotifyOwners.py b/PLC/Methods/BootNotifyOwners.py index cf4c54e..7458b9d 100644 --- a/PLC/Methods/BootNotifyOwners.py +++ b/PLC/Methods/BootNotifyOwners.py @@ -1,6 +1,6 @@ from PLC.Method import Method from PLC.Parameter import Parameter, Mixed -from PLC.Auth import Auth, BootAuth +from PLC.Auth import Auth, BootAuth, SessionAuth from PLC.Nodes import Node, Nodes from PLC.Messages import Message, Messages @@ -17,7 +17,7 @@ class BootNotifyOwners(Method): roles = ['node'] accepts = [ - Mixed(BootAuth(), SessionAuth()), + Auth(), Message.fields['message_id'], Parameter(int, "Notify PIs"), Parameter(int, "Notify technical contacts"),