From 1125b553d0167f1277bbee891021d4dad0e589be Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Aur=C3=A9lien=20Delobelle?= Date: Mon, 5 Sep 2016 13:31:09 +0200 Subject: [PATCH] Fix perms perform_transfers --- kfet/views.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kfet/views.py b/kfet/views.py index 1409d61f..d0bc54fb 100644 --- a/kfet/views.py +++ b/kfet/views.py @@ -1391,7 +1391,7 @@ def perform_transfers(request): transfers = transfer_formset.save(commit = False) # Initializing vars - required_perms = set() # Required perms to perform all transfers + required_perms = set('kfet.add_transfer') # Required perms to perform all transfers to_accounts_balances = defaultdict(lambda:0) # For balances of accounts for transfer in transfers: