X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=sfa%2Fmethods%2Freset_slice.py;fp=sfa%2Fmethods%2Freset_slice.py;h=cd9026c46522a1d1c4f4f444a1654c5599ab5ba2;hb=f3d825457ff4881b8c9658967f8ed159a01dfcaa;hp=9d0e0f090ef4968c0d5d9d7217bc0079f38eb768;hpb=7928eda8ae331272276237740075e23c6fcfb63f;p=sfa.git diff --git a/sfa/methods/reset_slice.py b/sfa/methods/reset_slice.py index 9d0e0f09..cd9026c4 100644 --- a/sfa/methods/reset_slice.py +++ b/sfa/methods/reset_slice.py @@ -30,7 +30,7 @@ class reset_slice(Method): def call(self, cred, xrn, origin_hrn=None): hrn, type = urn_to_hrn(xrn) - self.api.auth.check(cred, 'resetslice') + self.api.auth.check(cred, 'resetslice', hrn) # send the call to the right manager manager_base = 'sfa.managers' if self.api.interface in ['component']: