dont call verify_object_permissions. according to that method the local registry...
authorTony Mack <tmack@cs.princeton.edu>
Sun, 27 Sep 2009 01:13:40 +0000 (01:13 +0000)
committerTony Mack <tmack@cs.princeton.edu>
Sun, 27 Sep 2009 01:13:40 +0000 (01:13 +0000)
sfa/methods/register_peer_object.py

index 244bd89..c3a78e9 100644 (file)
@@ -54,7 +54,6 @@ class register_peer_object(Method):
         record['authority'] = get_authority(record['hrn'])
         # verify permissions
         self.api.auth.verify_cred_is_me(cred)
-        self.api.auth.verify_object_permission(hrn)
 
         # check if record already exists
         table = GeniTable()