You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@jspwiki.apache.org by ja...@apache.org on 2008/08/20 22:12:29 UTC
svn commit: r687442 -
/incubator/jspwiki/trunk/src/com/ecyrd/jspwiki/parser/JSPWikiMarkupParser.java
Author: jalkanen
Date: Wed Aug 20 13:12:29 2008
New Revision: 687442
URL: http://svn.apache.org/viewvc?rev=687442&view=rev
Log:
JSPWIKI-352: ACLs now effect the correct page in case it is included using InsertPageTag.
Modified:
incubator/jspwiki/trunk/src/com/ecyrd/jspwiki/parser/JSPWikiMarkupParser.java
Modified: incubator/jspwiki/trunk/src/com/ecyrd/jspwiki/parser/JSPWikiMarkupParser.java
URL: http://svn.apache.org/viewvc/incubator/jspwiki/trunk/src/com/ecyrd/jspwiki/parser/JSPWikiMarkupParser.java?rev=687442&r1=687441&r2=687442&view=diff
==============================================================================
--- incubator/jspwiki/trunk/src/com/ecyrd/jspwiki/parser/JSPWikiMarkupParser.java (original)
+++ incubator/jspwiki/trunk/src/com/ecyrd/jspwiki/parser/JSPWikiMarkupParser.java Wed Aug 20 13:12:29 2008
@@ -1357,7 +1357,7 @@
if( !m_parseAccessRules ) return m_currentElement;
Acl acl;
- WikiPage page = m_context.getPage();
+ WikiPage page = m_context.getRealPage();
// UserDatabase db = m_context.getEngine().getUserDatabase();
if( ruleLine.startsWith( "{" ) )