VIVO-224 Change USE_MISCELLANEOUS_EDITOR_PAGES to USE_INDIVIDUAL_CONTROL_PANEL
It’s hardly miscellaneous if there’s only one page.
This commit is contained in:
parent
03dfbfc2c5
commit
f6bd5804d5
4 changed files with 8 additions and 8 deletions
|
@ -12,7 +12,7 @@
|
|||
<%@page import="edu.cornell.mannlib.vitro.webapp.auth.permissions.SimplePermission" %>
|
||||
|
||||
<%
|
||||
if (PolicyHelper.isAuthorizedForActions(request, SimplePermission.USE_MISCELLANEOUS_EDITOR_PAGES.ACTIONS)) {
|
||||
if (PolicyHelper.isAuthorizedForActions(request, SimplePermission.USE_INDIVIDUAL_CONTROL_PANEL.ACTIONS)) {
|
||||
request.setAttribute("isEditor", Boolean.TRUE);
|
||||
}
|
||||
%>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue