Skip to content

[master-2.x] List only the pages that the viewer may view in the PageViewPlugin list - #632

Merged
spyhunter99 merged 1 commit into
apache:master-2.xfrom
arturobernalg:pageview-list-2x
Nov 16, 2026
Merged

spyhunter99 merged 1 commit into
apache:master-2.xfrom
arturobernalg:pageview-list-2x

Conversation

@arturobernalg

Copy link
Copy Markdown
Member

The same change as #631, for master-2.x. The list of the page counters of PageViewPlugin now leaves out the pages that the viewer may not view, with the same check that the other plugins that list pages use. A new test in PageViewPluginTest.

master-2.x does not compile until #630 is merged, so the build of this pull request fails until then. On top of #630, PageViewPluginTest passes and, on a running Tomcat 9, the list does not show the page to a viewer that may not view it.

The list of the page counters now leaves out the pages that the viewer may not view, as the other plugins that list pages do.
@spyhunter99
spyhunter99 merged commit 3a60a7a into apache:master-2.x Nov 16, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants