From: Mark Huang Date: Wed, 31 Jan 2007 22:41:34 +0000 (+0000) Subject: - Auth() now implies BootAuth() X-Git-Tag: pycurl-7_13_1~30 X-Git-Url: http://git.onelab.eu/?a=commitdiff_plain;h=0a81a30adc589d62038848acd6bbc4bae2f5f560;p=plcapi.git - Auth() now implies BootAuth() --- diff --git a/PLC/Methods/AuthCheck.py b/PLC/Methods/AuthCheck.py index 88b57aea..0a4c2601 100644 --- a/PLC/Methods/AuthCheck.py +++ b/PLC/Methods/AuthCheck.py @@ -9,7 +9,7 @@ class AuthCheck(Method): """ roles = ['admin', 'pi', 'user', 'tech', 'node'] - accepts = [Mixed(Auth(), BootAuth())] + accepts = [Auth()] returns = Parameter(int, '1 if successful') def call(self, auth):