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

   Backport of #604 to master-2.x.
   
   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, adapted to the javax request of this 
branch. An anonymous visitor does not see the name or the change note of a page 
protected with an ACL, and a user who may view the page still sees it. Full 
"mvn clean package" passes on this branch.
   
   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