From 56e70088c9ea0e0fb0ef22385c635951686e17d8 Mon Sep 17 00:00:00 2001 From: Tony Mack Date: Fri, 6 Aug 2010 21:10:09 +0000 Subject: [PATCH] should be checking for the stopslice priv not deletesliver --- sfa/methods/Stop.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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() -- 2.47.0