From: Mohamed Larabi Date: Thu, 11 Oct 2012 14:58:22 +0000 (+0200) Subject: Nitos: fix addUserKey call in verify_users() X-Git-Tag: sfa-2.1-17~1 X-Git-Url: http://git.onelab.eu/?a=commitdiff_plain;h=154aa5f41cf6c27749967be276cf3af55cd8bf31;p=sfa.git Nitos: fix addUserKey call in verify_users() --- diff --git a/sfa/nitos/nitosslices.py b/sfa/nitos/nitosslices.py index 6ad0e97e..2edd2092 100644 --- a/sfa/nitos/nitosslices.py +++ b/sfa/nitos/nitosslices.py @@ -192,7 +192,7 @@ class NitosSlices: added_users.append(user_id) # add user keys for key in user['keys']: - self.driver.shell.addUserKey({'user_id': user_id, 'key': key}) + self.driver.shell.addUserKey({'user_id': user_id, 'key': key, 'slice_id': slice['slice_id']}) # add the user to the slice self.driver.shell.addUserToSlice({'slice_id': slice['slice_id'], 'user_id': user_id}) else: