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

index 61c9285..4f2fc8c 100644 (file)
@@ -29,7 +29,7 @@ class Stop(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, 'stopslice', hrn)
 
         #log the call
         origin_hrn = Credential(string=valid_creds[0]).get_gid_caller().get_hrn()