- key no longer has person_id
authorMark Huang <mlhuang@cs.princeton.edu>
Wed, 18 Oct 2006 22:06:24 +0000 (22:06 +0000)
committerMark Huang <mlhuang@cs.princeton.edu>
Wed, 18 Oct 2006 22:06:24 +0000 (22:06 +0000)
PLC/Methods/DeleteKey.py

index 9a8351e..fdd7b5f 100644 (file)
@@ -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()