From 0c87632ffe8308e7a74aa57a60450cf834dd041f Mon Sep 17 00:00:00 2001 From: Edward Ribeiro Date: Thu, 20 Dec 2018 15:54:36 -0200 Subject: [PATCH] =?UTF-8?q?HOT-FIX:=20adiciona=20permiss=C3=A3o=20de=20ace?= =?UTF-8?q?sso=20a=20vota=C3=A7=C3=A3o=20em=20bloco?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- sapl/sessao/views.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/sapl/sessao/views.py b/sapl/sessao/views.py index b705e302f..0b18ccbcf 100755 --- a/sapl/sessao/views.py +++ b/sapl/sessao/views.py @@ -3280,7 +3280,7 @@ class JustificativaAusenciaCrud(MasterDetailCrud): pass -class VotacaoEmBlocoExpediente(ListView): +class VotacaoEmBlocoExpediente(PermissionRequiredForAppCrudMixin, ListView): model = ExpedienteMateria template_name = 'sessao/votacao/votacao_bloco_expediente.html' @@ -3303,7 +3303,7 @@ class VotacaoEmBlocoExpediente(ListView): return context -class VotacaoEmBlocoOrdemDia(ListView): +class VotacaoEmBlocoOrdemDia(PermissionRequiredForAppCrudMixin, ListView): model = OrdemDia template_name = 'sessao/votacao/votacao_bloco_ordem.html' app_label = AppConfig.label @@ -3325,7 +3325,7 @@ class VotacaoEmBlocoOrdemDia(ListView): return context -class VotacaoEmBlocoSimbolicaView(TemplateView): +class VotacaoEmBlocoSimbolicaView(PermissionRequiredForAppCrudMixin, TemplateView): """ Votação Simbólica @@ -3502,7 +3502,7 @@ class VotacaoEmBlocoSimbolicaView(TemplateView): return self.render_to_response(context) -class VotacaoEmBlocoNominalView(TemplateView): +class VotacaoEmBlocoNominalView(PermissionRequiredForAppCrudMixin, TemplateView): """ Votação Nominal """