should be checking for the startslice priv not deletesliver
authorTony Mack <tmack@cs.princeton.edu>
Fri, 6 Aug 2010 21:10:39 +0000 (21:10 +0000)
committerTony Mack <tmack@cs.princeton.edu>
Fri, 6 Aug 2010 21:10:39 +0000 (21:10 +0000)
sfa/methods/Start.py

index d52b25a..ff09db0 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, 'deletesliver', hrn)
+        valid_creds = self.api.auth.checkCredentials(creds, 'start', hrn)
 
         #log the call
         origin_hrn = Credential(string=valid_creds[0]).get_gid_caller().get_hrn()