From: Tony Mack <tmack@cs.princeton.edu>
Date: Fri, 6 Aug 2010 21:10:09 +0000 (+0000)
Subject: should be checking for the stopslice priv not deletesliver
X-Git-Tag: sfa-1.0-0~73
X-Git-Url: http://git.onelab.eu/?a=commitdiff_plain;h=56e70088c9ea0e0fb0ef22385c635951686e17d8;p=sfa.git

should be checking for the stopslice priv not deletesliver
---

diff --git a/sfa/methods/Stop.py b/sfa/methods/Stop.py
index 61c92855..4f2fc8c0 100644
--- a/sfa/methods/Stop.py
+++ b/sfa/methods/Stop.py
@@ -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()