jspwiki-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jalka...@apache.org
Subject svn commit: r687442 - /incubator/jspwiki/trunk/src/com/ecyrd/jspwiki/parser/JSPWikiMarkupParser.java
Date Wed, 20 Aug 2008 20:12:29 GMT
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( "{" ) )



Mime
View raw message