jspwiki-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jalka...@apache.org
Subject svn commit: r667221 - /incubator/jspwiki/trunk/src/webdocs/templates/default/Favorites.jsp
Date Thu, 12 Jun 2008 20:33:18 GMT
Author: jalkanen
Date: Thu Jun 12 13:33:18 2008
New Revision: 667221

URL: http://svn.apache.org/viewvc?rev=667221&view=rev
Log:
JSPWIKI-191: No longer leaks LeftMenu contents to unauthorized viewers.

Modified:
    incubator/jspwiki/trunk/src/webdocs/templates/default/Favorites.jsp

Modified: incubator/jspwiki/trunk/src/webdocs/templates/default/Favorites.jsp
URL: http://svn.apache.org/viewvc/incubator/jspwiki/trunk/src/webdocs/templates/default/Favorites.jsp?rev=667221&r1=667220&r2=667221&view=diff
==============================================================================
--- incubator/jspwiki/trunk/src/webdocs/templates/default/Favorites.jsp (original)
+++ incubator/jspwiki/trunk/src/webdocs/templates/default/Favorites.jsp Thu Jun 12 13:33:18
2008
@@ -82,6 +82,8 @@
   </wiki:Translate>
   </wiki:UserCheck>
 
+  <wiki:Permission permission="view">
+
   <%-- LeftMenu is automatically generated from a Wiki page called "LeftMenu" --%>
   <div class="leftmenu">
     <wiki:InsertPage page="LeftMenu" />
@@ -105,6 +107,8 @@
     </wiki:NoSuchPage>
   </div>
 
+  </wiki:Permission>
+
   </wiki:CheckRequestContext>
   
   <div class="wikiversion"><%=Release.APPNAME%> v<%=Release.getVersionString()%>



Mime
View raw message