From 0b81b57d41aa8a3ba6d6f5fe029ea001f43558c6 Mon Sep 17 00:00:00 2001 From: Cesar Augusto de Carvalho Date: Fri, 7 Jun 2019 12:24:54 -0300 Subject: [PATCH] =?UTF-8?q?HOT-FIX:=20Corrige=20permiss=C3=B5es=20de=20tra?= =?UTF-8?q?mita=C3=A7=C3=A3o=20DocAdm=20em=20lote=20(#2830)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- sapl/protocoloadm/views.py | 2 +- sapl/templates/navbar.yaml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/sapl/protocoloadm/views.py b/sapl/protocoloadm/views.py index 1f8a0baaf..2caab21ab 100755 --- a/sapl/protocoloadm/views.py +++ b/sapl/protocoloadm/views.py @@ -1455,7 +1455,7 @@ class FichaSelecionaAdmView(PermissionRequiredMixin, FormView): class PrimeiraTramitacaoEmLoteAdmView(PermissionRequiredMixin, FilterView): filterset_class = PrimeiraTramitacaoEmLoteAdmFilterSet template_name = 'protocoloadm/em_lote/tramitacaoadm.html' - permission_required = ('materia.add_tramitacao', ) + permission_required = ('protocoloadm.add_tramitacaoadministrativo', ) primeira_tramitacao = True diff --git a/sapl/templates/navbar.yaml b/sapl/templates/navbar.yaml index e06638095..5d50d2122 100644 --- a/sapl/templates/navbar.yaml +++ b/sapl/templates/navbar.yaml @@ -35,7 +35,7 @@ url: sapl.protocoloadm:pesq_doc_adm - title: {% trans 'Tramitação em Lote' %} url: sapl.protocoloadm:primeira_tramitacao_em_lote_docadm - check_permission: sapl.documento:add_tramitacao + check_permission: sapl.protocoloadm:add_tramitacaoadministrativo - title: {% trans 'Atividade Legislativa' %} children: