Browse Source

Merge branch '103-autorizacaov2' into 474-criar-secao-doc-adm-v2

pull/506/head
Eduardo Calil 9 years ago
parent
commit
880c2a75cd
  1. 3
      sapl/utils.py

3
sapl/utils.py

@ -298,7 +298,8 @@ def permissoes_painel():
def permissao_tb_aux(self):
if self.request.user.is_superuser:
u = self.request.user
if u.groups.filter(name='Operador Geral').exists():
return True
else:
return False

Loading…
Cancel
Save