META-INF.resources.m.pageactions.script-configuration.jsp Maven / Gradle / Ivy
<%@ page import="com.manydesigns.portofino.dispatcher.PageInstance" %>
<%@ page import="com.manydesigns.portofino.logic.SecurityLogic" %>
<%@ page import="com.manydesigns.portofino.pageactions.AbstractPageAction" %>
<%@ page import="com.manydesigns.portofino.security.AccessLevel" %>
<%@ page import="org.apache.commons.configuration.Configuration" %>
<%@ page import="org.apache.shiro.SecurityUtils" %>
<%@ page import="org.apache.shiro.subject.Subject" %>
<%@ taglib prefix="stripes" uri="http://stripes.sourceforge.net/stripes-dynattr.tld"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%
AbstractPageAction theActionBean = (AbstractPageAction) request.getAttribute("actionBean");
Subject subject = SecurityUtils.getSubject();
Configuration portofinoConfiguration = theActionBean.getPortofinoConfiguration();
PageInstance pageInstance = theActionBean.getPageInstance();
if(SecurityLogic.hasPermissions(portofinoConfiguration, pageInstance, subject, AccessLevel.DEVELOP)) { %>
" type="text/javascript" charset="utf-8">
" type="text/javascript" charset="utf-8">
" type="text/javascript" charset="utf-8">
" type="text/javascript" charset="utf-8">
" type="text/javascript" charset="utf-8">
" type="text/javascript">
<% } %>
© 2015 - 2024 Weber Informatics LLC | Privacy Policy