make GetLeases reachable with anon auth
authorThierry Parmentelat <thierry.parmentelat@inria.fr>
Tue, 13 Dec 2016 08:51:20 +0000 (09:51 +0100)
committerThierry Parmentelat <thierry.parmentelat@inria.fr>
Tue, 13 Dec 2016 08:51:20 +0000 (09:51 +0100)
PLC/Methods/GetLeases.py

index 3f51154..2385012 100644 (file)
@@ -27,7 +27,7 @@ class GetLeases(Method):
 
     """
 
 
     """
 
-    roles = ['admin', 'pi', 'user', 'node']
+    roles = ['admin', 'pi', 'user', 'node', 'anonymous']
 
     accepts = [
         Auth(),
 
     accepts = [
         Auth(),