VIVO-761 Take advantage of the changes to simplify some logic.

This commit is contained in:
Jim Blake 2014-04-25 15:30:43 -04:00
parent 4baad05643
commit 78fe1bbb41
5 changed files with 37 additions and 96 deletions

View file

@ -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);
}
%>