VIVO-761 Take advantage of the changes to simplify some logic.
This commit is contained in:
parent
4baad05643
commit
78fe1bbb41
5 changed files with 37 additions and 96 deletions
|
@ -12,7 +12,7 @@
|
|||
<%@page import="edu.cornell.mannlib.vitro.webapp.auth.permissions.SimplePermission" %>
|
||||
|
||||
<%
|
||||
if (PolicyHelper.isAuthorizedForActions(request, SimplePermission.USE_INDIVIDUAL_CONTROL_PANEL.ACTIONS)) {
|
||||
if (PolicyHelper.isAuthorizedForActions(request, SimplePermission.USE_INDIVIDUAL_CONTROL_PANEL.ACTION)) {
|
||||
request.setAttribute("isEditor", Boolean.TRUE);
|
||||
}
|
||||
%>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue