Commit 7244ef00 authored by didonet's avatar didonet

Update on the students access permissions.

parent b7d5567d
......@@ -48,7 +48,7 @@
<!-- INGRESSOS - Show -->
<!-- INGRESSOS - Show -->
<intercept-url pattern="^/registrations/studentinfo\?registration=[0-9]+$"
access="hasAnyRole('Administrador', 'Funcionario', 'Professor', 'Aluno')
access="hasAnyRole('Administrador', 'Funcionario', 'Professor')
and @permissionProvider.hasPermissionToView(request.getParameter('registration'),'registration')"/>
<!-- INGRESSOS - Listar Ingressos" -->
<intercept-url pattern="^/registrations(/list\?.*)?$"
......@@ -64,16 +64,16 @@
<!-- INGRESSOS - Declaracao matricula -->
<intercept-url pattern="^/registrations/registrationsstatement$"
access="hasAnyRole('Administrador', 'Funcionario', 'Aluno')"/>
access="hasAnyRole('Administrador', 'Funcionario')"/>
<intercept-url pattern="^/registrations/registrationsstatementpdf\?registration=[0-9]+$"
access="hasAnyRole('Administrador', 'Funcionario', 'Aluno')
access="hasAnyRole('Administrador', 'Funcionario')
and @permissionProvider.hasPermissionToView(request.getParameter('registration'),'registration')"/>
<!-- INGRESSOS - Declaracao de aceitacao -->
<intercept-url pattern="^/registrations/acceptancestatement$"
access="hasAnyRole('Administrador', 'Funcionario', 'Aluno')"/>
access="hasAnyRole('Administrador', 'Funcionario')"/>
<intercept-url pattern="^/registrations/acceptancestatementpdf\?registration=[0-9]+$"
access="hasAnyRole('Administrador', 'Funcionario', 'Aluno')
access="hasAnyRole('Administrador', 'Funcionario')
and @permissionProvider.hasPermissionToView(request.getParameter('registration'),'registration')"/>
<!-- AVALIACAO - Editar -->
......@@ -102,9 +102,9 @@
<!-- BOLSA DISCENTE - Declaracao de bolsista -->
<intercept-url pattern="^/studentgrants/statementgrant$"
access="hasAnyRole('Administrador', 'Funcionario', 'Aluno')"/>
access="hasAnyRole('Administrador', 'Funcionario')"/>
<intercept-url pattern="^/studentgrants/statementgrantpdf\?studentgrant=[0-9]+$"
access="hasAnyRole('Administrador', 'Funcionario', 'Aluno')
access="hasAnyRole('Administrador', 'Funcionario')
and @permissionProvider.hasPermissionToView(request.getParameter('studentgrant'),'studentgrant')"/>
<!-- TURMA - Listar turmas pos -->
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment