- key no longer has person_id field
authorMark Huang <mlhuang@cs.princeton.edu>
Tue, 17 Oct 2006 04:25:59 +0000 (04:25 +0000)
committerMark Huang <mlhuang@cs.princeton.edu>
Tue, 17 Oct 2006 04:25:59 +0000 (04:25 +0000)
PLC/Methods/UpdateKey.py

index 97490c2..3527908 100644 (file)
@@ -41,7 +41,6 @@ class UpdateKey(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 one of your accounts"
-            assert key['person_id'] == self.caller['person_id']
 
         key.update(key_fields)
         key.sync()