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:
f11e32d
)
Fix typo
author
Tony Mack
<tmack@paris.CS.Princeton.EDU>
Wed, 10 Nov 2010 21:06:11 +0000
(16:06 -0500)
committer
Tony Mack
<tmack@paris.CS.Princeton.EDU>
Wed, 10 Nov 2010 21:06:11 +0000
(16:06 -0500)
PLC/Methods/UpdatePersonTag.py
patch
|
blob
|
history
diff --git
a/PLC/Methods/UpdatePersonTag.py
b/PLC/Methods/UpdatePersonTag.py
index
1cfc6ac
..
804d17d
100644
(file)
--- a/
PLC/Methods/UpdatePersonTag.py
+++ b/
PLC/Methods/UpdatePersonTag.py
@@
-53,7
+53,7
@@
class UpdatePersonTag(Method):
# check permission : it not admin, is the user affiliated with the right person
if 'admin' not in self.caller['roles']:
# check caller is affiliated with this person's person
- if not self.call.can_update(person):
+ if not self.call
er
.can_update(person):
raise PLCPermissionDenied, "Not a member of the person's persons: %s"%person['person_ids']
required_min_role = person_tag['min_role_id']