git://git.onelab.eu
/
plcapi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4943410
)
- add deprecated status field and accepts
author
Mark Huang
<mlhuang@cs.princeton.edu>
Fri, 20 Oct 2006 18:06:11 +0000
(18:06 +0000)
committer
Mark Huang
<mlhuang@cs.princeton.edu>
Fri, 20 Oct 2006 18:06:11 +0000
(18:06 +0000)
PLC/Methods/AdmGetPersonSites.py
patch
|
blob
|
history
diff --git
a/PLC/Methods/AdmGetPersonSites.py
b/PLC/Methods/AdmGetPersonSites.py
index
78b5e02
..
8e0c9ba
100644
(file)
--- 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'],