default for get_roles in the accessors factory is all_roles
authorThierry Parmentelat <thierry.parmentelat@sophia.inria.fr>
Mon, 22 Nov 2010 22:25:01 +0000 (23:25 +0100)
committerThierry Parmentelat <thierry.parmentelat@sophia.inria.fr>
Mon, 22 Nov 2010 22:25:01 +0000 (23:25 +0100)
PLC/Accessors/Accessors_sliverauth.py
PLC/Accessors/Accessors_standard.py
PLC/Accessors/Accessors_wireless.py
PLC/Accessors/Factory.py
PLC/Methods/GetIlinks.py
PLC/Methods/GetSiteTags.py

index 921645b..088560e 100644 (file)
@@ -1,3 +1,6 @@
+#
+# Thierry Parmentelat - INRIA
+#
 from PLC.Nodes import Node
 from PLC.Interfaces import Interface
 from PLC.Slices import Slice
index f97bfd4..f368a2c 100644 (file)
@@ -1,7 +1,6 @@
+#
 # Thierry Parmentelat - INRIA
-# $Id$
-# $URL$
-
+#
 from PLC.Nodes import Node
 from PLC.Interfaces import Interface
 from PLC.Slices import Slice
index 5af6e29..12b5bd9 100644 (file)
@@ -1,7 +1,6 @@
+#
 # Thierry Parmentelat - INRIA
-# $Id$
-# $URL$
-
+#
 from PLC.Nodes import Node
 from PLC.Interfaces import Interface
 from PLC.Slices import Slice
index ad79a99..ebe6720 100644 (file)
@@ -1,7 +1,6 @@
+#
 # Thierry Parmentelat - INRIA
-# $Id$
-# $URL$
-
+#
 from types import NoneType
 
 from PLC.Faults import *
@@ -72,7 +71,7 @@ tech_roles = [ 'admin', 'pi', 'tech' ]
 
 def define_accessors (module, objclass, methodsuffix, tagname,
                       category, description,
-                      get_roles=['admin'], set_roles=['admin']
+                      get_roles=all_roles, admin_roles
                       expose_in_api = False):
 
     if objclass not in taggable_classes:
index 93a208a..9fc051d 100644 (file)
@@ -1,10 +1,6 @@
-# $Id$
-# $URL$
 #
 # Thierry Parmentelat - INRIA
 #
-# $Revision: 9423 $
-#
 from PLC.Faults import *
 from PLC.Method import Method
 from PLC.Parameter import Parameter, Mixed
index 83b208c..03a857b 100644 (file)
@@ -1,10 +1,6 @@
-# $Id: GetSiteTags.py 14587 2009-07-19 13:18:50Z thierry $
-# $URL: http://svn.planet-lab.org/svn/PLCAPI/tags/PLCAPI-4.3-27/PLC/Methods/GetSiteTags.py $
 #
 # Thierry Parmentelat - INRIA
 #
-# $Revision: 14587 $
-#
 from PLC.Faults import *
 from PLC.Method import Method
 from PLC.Parameter import Parameter, Mixed