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:
1f24cda
)
- removed pi role check
author
Tony Mack
<tmack@cs.princeton.edu>
Wed, 20 Sep 2006 14:03:08 +0000
(14:03 +0000)
committer
Tony Mack
<tmack@cs.princeton.edu>
Wed, 20 Sep 2006 14:03:08 +0000
(14:03 +0000)
PLC/Methods/AdmGetSitePersons.py
patch
|
blob
|
history
diff --git
a/PLC/Methods/AdmGetSitePersons.py
b/PLC/Methods/AdmGetSitePersons.py
index
0839bc6
..
b9dd2f5
100644
(file)
--- a/
PLC/Methods/AdmGetSitePersons.py
+++ b/
PLC/Methods/AdmGetSitePersons.py
@@
-39,8
+39,6
@@
class AdmGetSitePersons(Method):
if 'admin' not in self.caller['roles']:
if site['site_id'] not in self.caller['site_ids']:
raise PLCPermissionDenied, "Not allowed to update node network"
- if 'pi' not in self.caller['roles']:
- raise PLCPermissionDenied, "User account not allowed to update node network"
person_ids = site['person_ids']
return person_ids