From 79da655e057e2087e04d7a827a3370abdac1b879 Mon Sep 17 00:00:00 2001 From: Tony Mack Date: Mon, 9 Aug 2010 16:32:23 +0000 Subject: [PATCH] should be checking for the getticket priv --- sfa/methods/GetTicket.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sfa/methods/GetTicket.py b/sfa/methods/GetTicket.py index afd7f498..119ae48d 100644 --- a/sfa/methods/GetTicket.py +++ b/sfa/methods/GetTicket.py @@ -42,7 +42,7 @@ class GetTicket(Method): def call(self, xrn, creds, rspec, users): hrn, type = urn_to_hrn(xrn) # Find the valid credentials - valid_creds = self.api.auth.checkCredentials(creds, 'createsliver', hrn) + valid_creds = self.api.auth.checkCredentials(creds, 'getticket', hrn) origin_hrn = Credential(string=valid_creds[0]).get_gid_caller().get_hrn() #log the call -- 2.43.0