Add LDAP authentication and enabling Spring logging
[proteocache.git] / webapp / view / support / Denied.jsp
index 928cf35..bcb306c 100644 (file)
 <jsp:include page="../fragments/header.jsp" />
 <body>
        <div class="container">
-               <jsp:include page="../fragments/mainmenu.jsp" />
+               <c:choose>
+                       <c:when test="${permissions == 'user_role'}">
+                               <jsp:include page="../fragments/mainmenu.jsp" />
+                       </c:when>
+                       <c:otherwise>
+                               <jsp:include page="../fragments/publicmenu.jsp" />
+                       </c:otherwise>
+               </c:choose>
 
                <div class="panel panel-default">
                        <div class="panel-heading">