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:
6a02b3b
)
- key no longer has person_id
author
Mark Huang
<mlhuang@cs.princeton.edu>
Wed, 18 Oct 2006 22:06:24 +0000
(22:06 +0000)
committer
Mark Huang
<mlhuang@cs.princeton.edu>
Wed, 18 Oct 2006 22:06:24 +0000
(22:06 +0000)
PLC/Methods/DeleteKey.py
patch
|
blob
|
history
diff --git
a/PLC/Methods/DeleteKey.py
b/PLC/Methods/DeleteKey.py
index
9a8351e
..
fdd7b5f
100644
(file)
--- a/
PLC/Methods/DeleteKey.py
+++ b/
PLC/Methods/DeleteKey.py
@@
-32,7
+32,6
@@
class DeleteKey(Method):
if 'admin' not in self.caller['roles']:
if key['key_id'] not in self.caller['key_ids']:
raise PLCPermissionDenied, "Key must be associated with your account"
- assert key['person_id'] == self.caller['person_id']
key.delete()