From: Mark Huang Date: Fri, 20 Oct 2006 18:06:11 +0000 (+0000) Subject: - add deprecated status field and accepts X-Git-Tag: pycurl-7_13_1~505 X-Git-Url: http://git.onelab.eu/?a=commitdiff_plain;h=5e1fbf3d13e11ef4bce6273a4bfc32be642e8e91;p=plcapi.git - add deprecated status field and accepts --- diff --git a/PLC/Methods/AdmGetPersonSites.py b/PLC/Methods/AdmGetPersonSites.py index 78b5e028..8e0c9bac 100644 --- a/PLC/Methods/AdmGetPersonSites.py +++ b/PLC/Methods/AdmGetPersonSites.py @@ -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'],