From 6f374dfffd3d9a58e6d0b0047d30cad32c6b7657 Mon Sep 17 00:00:00 2001 From: Lazare Olivry Date: Tue, 21 Aug 2018 13:47:31 +0200 Subject: [PATCH] update views permissions --- logs/views.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/logs/views.py b/logs/views.py index aba70c5c..e8c30718 100644 --- a/logs/views.py +++ b/logs/views.py @@ -524,8 +524,8 @@ def history(request, application, object_name, object_id): @login_required -@permission_required('cableur') -def stats_unoccupuied_rooms(request): +@can_view_app('users') +def stats_unoccupied_rooms(request): """Vue qui affiche les chambres inoccupées pour des fins de contrôle des cotisations""" stats = {