Commit 130b5f90 authored by Maël Kervella's avatar Maël Kervella

Fix : Droit machines.serveur pour l'API des mailings

parent be430c46
......@@ -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"""
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment