From: Anil-Kumar Vengalil Date: Thu, 17 Dec 2009 17:09:20 +0000 (+0000) Subject: taking out these two checks as discussed with tony. get_ticket is now a SM call,... X-Git-Tag: sfa-0.9-7~100 X-Git-Url: http://git.onelab.eu/?p=sfa.git;a=commitdiff_plain;h=23e5745a8d7871776aa846ac7ef5c6bde0b0f9f3 taking out these two checks as discussed with tony. get_ticket is now a SM call, and these checks make sense with registry calls which are not propagated accross federated aggs --- diff --git a/sfa/methods/get_ticket.py b/sfa/methods/get_ticket.py index 94b9e9e0..62861e9b 100644 --- a/sfa/methods/get_ticket.py +++ b/sfa/methods/get_ticket.py @@ -45,8 +45,6 @@ class get_ticket(Method): def call(self, cred, hrn, rspec, request_hash=None, origin_hrn=None): self.api.auth.authenticateCred(cred, [cred, hrn, rspec], request_hash) self.api.auth.check(cred, "getticket") - self.api.auth.verify_object_belongs_to_me(hrn) - self.api.auth.verify_object_permission(hrn) if origin_hrn==None: origin_hrn=Credential(string=cred).get_gid_caller().get_hrn()