From: Tony Mack Date: Fri, 1 May 2009 01:03:02 +0000 (+0000) Subject: check for the correct rights X-Git-Tag: sfa-0.9-0@14641~437 X-Git-Url: http://git.onelab.eu/?a=commitdiff_plain;h=dbf038097796d169907bd7fc1ea603604de1bc18;p=sfa.git check for the correct rights --- diff --git a/geni/methods/stop_slice.py b/geni/methods/stop_slice.py index ab5e1652..fbb4c3f8 100644 --- a/geni/methods/stop_slice.py +++ b/geni/methods/stop_slice.py @@ -26,8 +26,8 @@ class stop_slice(Method): def call(self, cred, hrn): - self.api.auth.check(cred, 'startslice') + self.api.auth.check(cred, 'stopslice') slices = Slices(self.api) - slices.stop_slice(hrn): + slices.stop_slice(hrn) return 1