From 5e337dddfece975e4a46827849ec12ad06ac5c4b Mon Sep 17 00:00:00 2001 From: Edward Oliveira Date: Tue, 7 Mar 2023 03:09:45 -0300 Subject: [PATCH] HOT-FIX: OSTicket ##488157 --- sapl/materia/views.py | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/sapl/materia/views.py b/sapl/materia/views.py index 3a6e22977..7b80b7918 100644 --- a/sapl/materia/views.py +++ b/sapl/materia/views.py @@ -1260,10 +1260,13 @@ class HistoricoProposicaoView(PermissionRequiredMixin, ListView): ordering = ['-data_hora'] paginate_by = 10 model = HistoricoProposicao - permission_required = ('materia.detail_proposicao_enviada', - 'materia.detail_proposicao_devolvida', - 'materia.detail_proposicao_incorporada' - ) + permission_required = ( + 'materia.list_historicoproposicao', + 'materia.add_historicoproposicao', + 'materia.change_historicoproposicao', + 'materia.delete_historicoproposicao', + 'materia.detail_historicoproposicao', + ) def get_queryset(self): qs = super().get_queryset()