Commit a2641a51 authored by didonet's avatar didonet
Browse files

Changed permissions for professors.

parent 7244ef00
...@@ -48,7 +48,7 @@ ...@@ -48,7 +48,7 @@
<!-- INGRESSOS - Show --> <!-- INGRESSOS - Show -->
<!-- INGRESSOS - Show --> <!-- INGRESSOS - Show -->
<intercept-url pattern="^/registrations/studentinfo\?registration=[0-9]+$" <intercept-url pattern="^/registrations/studentinfo\?registration=[0-9]+$"
access="hasAnyRole('Administrador', 'Funcionario', 'Professor') access="hasAnyRole('Administrador', 'Funcionario', 'Professor','Aluno')
and @permissionProvider.hasPermissionToView(request.getParameter('registration'),'registration')"/> and @permissionProvider.hasPermissionToView(request.getParameter('registration'),'registration')"/>
<!-- INGRESSOS - Listar Ingressos" --> <!-- INGRESSOS - Listar Ingressos" -->
<intercept-url pattern="^/registrations(/list\?.*)?$" <intercept-url pattern="^/registrations(/list\?.*)?$"
......
...@@ -27,8 +27,6 @@ ...@@ -27,8 +27,6 @@
<menu:item id="i_registration_list" messageCode="global_menu_registration_overview" url="/registrations/regoverviewchoice" z="user-managed"/> <menu:item id="i_registration_list" messageCode="global_menu_registration_overview" url="/registrations/regoverviewchoice" z="user-managed"/>
</menu:category> </menu:category>
<menu:category id="c_transcript" z="a8v3h7EFS5CVeUqTWiTRDpYXXJg="> <menu:category id="c_transcript" z="a8v3h7EFS5CVeUqTWiTRDpYXXJg=">
<menu:item id="i_transcript_list" messageCode="global_menu_statement_disciplinas" url="/transcripts/transcriptsstatement" z="user-managed"/>
<menu:item id="i_transcript_list" messageCode="global_menu_history" url="/transcripts/transcriptshistory" z="user-managed"/>
<menu:item id="i_transcript_section" messageCode="global_menu_transcript_section" url="/sectionposes/sectionsselectchoice" z="user-managed"/> <menu:item id="i_transcript_section" messageCode="global_menu_transcript_section" url="/sectionposes/sectionsselectchoice" z="user-managed"/>
</menu:category> </menu:category>
<menu:category id="c_studentgrant" z="ekB+LoI15aV+Inz9R2XIzu6kQxY="> <menu:category id="c_studentgrant" z="ekB+LoI15aV+Inz9R2XIzu6kQxY=">
...@@ -40,9 +38,6 @@ ...@@ -40,9 +38,6 @@
<menu:category id="c_course" z="xwPFa1gir7x2AC89oGWk0WgKTE0="> <menu:category id="c_course" z="xwPFa1gir7x2AC89oGWk0WgKTE0=">
<menu:item id="i_course_list" messageCode="global_menu_list" url="/courses" z="user-managed"/> <menu:item id="i_course_list" messageCode="global_menu_list" url="/courses" z="user-managed"/>
</menu:category> </menu:category>
<menu:category id="c_services" z="usermanaged">
<menu:item id="i_search_meeting_minutes" messageCode="global_menu_search_meeting_minutes" url="/searchMeetingMinutes" z="user-managed"/>
</menu:category>
</sec:authorize> </sec:authorize>
<sec:authorize access="hasAnyRole('Administrador', 'Funcionario')"> <sec:authorize access="hasAnyRole('Administrador', 'Funcionario')">
......
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