- add deprecated status field and accepts
authorMark Huang <mlhuang@cs.princeton.edu>
Fri, 20 Oct 2006 18:06:11 +0000 (18:06 +0000)
committerMark Huang <mlhuang@cs.princeton.edu>
Fri, 20 Oct 2006 18:06:11 +0000 (18:06 +0000)
PLC/Methods/AdmGetPersonSites.py

index 78b5e02..8e0c9ba 100644 (file)
@@ -17,6 +17,10 @@ class AdmGetPersonSites(Method):
     themselves and others at their sites.
     """
 
+    status = "deprecated"
+
+    roles = ['admin', 'pi', 'user', 'tech']
+
     accepts = [
         PasswordAuth(),
         Mixed(Person.fields['person_id'],