From: Thierry Parmentelat Date: Tue, 13 Dec 2016 08:51:20 +0000 (+0100) Subject: make GetLeases reachable with anon auth X-Git-Tag: plcapi-5.3-11~4 X-Git-Url: http://git.onelab.eu/?p=plcapi.git;a=commitdiff_plain;h=b5d5d175245b7a10aaf46dbe59ca17030aab1101 make GetLeases reachable with anon auth --- diff --git a/PLC/Methods/GetLeases.py b/PLC/Methods/GetLeases.py index 3f51154..2385012 100644 --- a/PLC/Methods/GetLeases.py +++ b/PLC/Methods/GetLeases.py @@ -27,7 +27,7 @@ class GetLeases(Method): """ - roles = ['admin', 'pi', 'user', 'node'] + roles = ['admin', 'pi', 'user', 'node', 'anonymous'] accepts = [ Auth(),