8
0
Fork 0
mirror of https://gitlab2.federez.net/re2o/re2o synced 2024-12-23 23:43:47 +00:00

update views permissions

This commit is contained in:
Lazare Olivry 2018-08-21 13:47:31 +02:00
parent f4acfc092a
commit 6f374dfffd

View file

@ -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 = {