XWiki 17.10.4 - unregistered users can't view pages anymore

Hello there!

We have our XWiki configured so that unregistered users can only view a few pages. (All rights denied to unregistered users at root level, view right granted for these selected pages.)

After upgrading from 17.10.3 to 17.10.4 the login dialog appears for this pages, so they can’t be viewed any more for unregistered users.

I double checked this by restoring a backup from before the upgrade (and downgraded Debian LTS packages to 17.10.3). → works! Upgraded to 17.10.4 again → broken.

Can anybody reproduce this? Thanks in advance!

Matthias

Hi @mahaesin,
Do these public pages belong to XWiki’s default spaces (for example, pages under Main or XWiki), or are they pages that you created yourself? During an upgrade, the standard pages are also updated unless you choose to skip those changes.

Hello!

These public pages don’t belong to Main or XWiki. Most of them are sub pages of page C in a tree A/B/C where unregistered users

  • have view right for page C & sub pages
  • have view right only for page A and B (without sub pages) to allow navigation

Neither, A, B, C nor C’s sub pages can be accessed by a direct link. The login page is shown every time.

In the Global Administration > Rights section, you’ll see three options listed in the Rights table. The one we need to focus on is “Prevent unregistered users from viewing pages, regardless of the page rights.”

Could you check whether this option is enabled in your setup?

First option is disabled, second (editing) and third (Captcha) are enabled.

Could you check the history of the WebPreferences page that defines the rights for guest users, to see whether anything changed during the upgrade? You can view the history here: <server>/xwiki/bin/view/A/B/C/WebPreferences?viewer=history

Thank you for your input and Thanks for the hint about ../WebPreferences?viewer=histor !

The newest Changes (on C) are from 2025.

Note, there’s a nice FAQ How to track right changes for a page in XWiki? about it.