From 5e1fbf3d13e11ef4bce6273a4bfc32be642e8e91 Mon Sep 17 00:00:00 2001 From: Mark Huang Date: Fri, 20 Oct 2006 18:06:11 +0000 Subject: [PATCH] - add deprecated status field and accepts --- PLC/Methods/AdmGetPersonSites.py | 4 ++++ 1 file changed, 4 insertions(+) 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'], -- 2.47.0