make GetLeases reachable with anon auth
[plcapi.git] / PLC / Methods / GetLeases.py
index 80e272b..2385012 100644 (file)
@@ -1,5 +1,3 @@
-# $Id$
-# $URL$
 # Thierry Parmentelat -- INRIA
 
 from PLC.Method import Method
@@ -29,7 +27,7 @@ class GetLeases(Method):
 
     """
 
-    roles = ['admin', 'pi', 'user', 'node']
+    roles = ['admin', 'pi', 'user', 'node', 'anonymous']
 
     accepts = [
         Auth(),