should be checking for the getticket priv
authorTony Mack <tmack@cs.princeton.edu>
Mon, 9 Aug 2010 16:32:23 +0000 (16:32 +0000)
committerTony Mack <tmack@cs.princeton.edu>
Mon, 9 Aug 2010 16:32:23 +0000 (16:32 +0000)
sfa/methods/GetTicket.py

index afd7f49..119ae48 100644 (file)
@@ -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