diff --git a/sapl/protocoloadm/views.py b/sapl/protocoloadm/views.py index 89de69c72..79f843e37 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: