# xxx probably defined someplace else
admin_roles = ['admin']
+person_roles = [ 'admin', 'pi', 'tech', 'user' ]
all_roles = [ 'admin', 'pi', 'tech', 'user', 'node' ]
tech_roles = [ 'admin', 'pi', 'tech' ]
-# $Id$
-# $URL$
+#
+# Thierry Parmentelat - INRIA
+#
from types import StringTypes
try:
set
-# $Id: GetPersonTags.py 14587 2009-07-19 13:18:50Z thierry $
-# $URL: http://svn.planet-lab.org/svn/PLCAPI/tags/PLCAPI-4.3-27/PLC/Methods/GetPersonTags.py $
#
# Thierry Parmentelat - INRIA
#
-# $Revision: 14587 $
-#
from PLC.Faults import *
from PLC.Method import Method
from PLC.Parameter import Parameter, Mixed
if not valid_person_ids:
return []
+ # xxx this looks suspicious
+ # we need to add this restriction even if person_filter is defined
if person_filter is None:
person_filter = valid_person_ids
# Mark Huang <mlhuang@cs.princeton.edu>
# Copyright (C) 2006 The Trustees of Princeton University
#
-# $Id$
-# $URL$
-#
from types import StringTypes
try:
-# $Id$
-# $Id$
-# $URL$
#
# Thierry Parmentelat - INRIA
#