arturobernalg opened a new pull request, #604:
URL: https://github.com/apache/jspwiki/pull/604

   RecentChangesPlugin lists the recently changed pages and attachments with 
their name, author and change note, and it applied only the include and exclude 
patterns. It did not check the view permission of each page, so a visitor saw 
the name, the author and the change note of a page that is protected with an 
ACL, although not its text.
   
   The plugin now keeps in the list only the pages and attachments for which 
the viewer has the view permission of the page.
   
   Tests: RecentChangesPluginAclTest. An anonymous visitor does not see the 
name or the change note of a page protected with an ACL (it fails without the 
change), and a user who may view the page still sees it. Full "mvn clean 
package" passes. I also checked it on a running wiki with an anonymous visitor 
and a page protected with an ACL: the page is not listed.
   
   https://claude.ai/code/session_01BrsHTcHemouztMgt7JzhEZ


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to