svn keywords
[plcapi.git] / PLC / Methods / BootNotifyOwners.py
index c1da332..704c57b 100644 (file)
@@ -1,6 +1,8 @@
+# $Id$
+# $URL$
 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 +19,7 @@ class BootNotifyOwners(Method):
     roles = ['node']
 
     accepts = [
-        BootAuth(),
+        Mixed(BootAuth(), SessionAuth()),
         Message.fields['message_id'],
         Parameter(int, "Notify PIs"),
         Parameter(int, "Notify technical contacts"),