From 130b5f9088440eee837db3cca5e2df4e3b9f49b4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ma=C3=ABl=20Kervella?= Date: Mon, 5 Mar 2018 15:53:03 +0000 Subject: [PATCH] Fix : Droit machines.serveur pour l'API des mailings --- users/views.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/users/views.py b/users/views.py index ef58325a..8d9ec603 100644 --- a/users/views.py +++ b/users/views.py @@ -842,7 +842,7 @@ class JSONResponse(HttpResponse): @csrf_exempt @login_required -@permission_required('serveur') +@permission_required('machines.serveur') def mailing(request): """ Fonction de serialisation des addresses mail de tous les users Pour generation de ml all users"""