diff --git a/sapl/templates/base.html b/sapl/templates/base.html index 19f70e4f9..efcd0a647 100644 --- a/sapl/templates/base.html +++ b/sapl/templates/base.html @@ -69,9 +69,6 @@ Votar Matéria {% endif %} - {% if request.user.is_superuser %} -
  • Administração
  • - {% endif %}
  • Sair
  • diff --git a/sapl/templates/navbar.yaml b/sapl/templates/navbar.yaml index 9bcb12e2d..b0836341b 100644 --- a/sapl/templates/navbar.yaml +++ b/sapl/templates/navbar.yaml @@ -65,6 +65,9 @@ - title: {% trans 'Tabelas Auxiliares' %} url: '/sistema' check_permission: base.view_tabelas_auxiliares + - title: {% trans 'Administração de Usuários' %} + url: '/admin' + check_permission: user.is_superuser {% comment %}