should be checking for the startslice priv
authorTony Mack <tmack@cs.princeton.edu>
Mon, 9 Aug 2010 17:17:51 +0000 (17:17 +0000)
committerTony Mack <tmack@cs.princeton.edu>
Mon, 9 Aug 2010 17:17:51 +0000 (17:17 +0000)
sfa/methods/Start.py

index ff09db0..26a2958 100644 (file)
@@ -29,7 +29,7 @@ class Start(Method):
     
     def call(self, xrn, creds):
         hrn, type = urn_to_hrn(xrn)
-        valid_creds = self.api.auth.checkCredentials(creds, 'start', hrn)
+        valid_creds = self.api.auth.checkCredentials(creds, 'startslice', hrn)
 
         #log the call
         origin_hrn = Credential(string=valid_creds[0]).get_gid_caller().get_hrn()