Uploaded image for project: 'XWiki Platform'
  1. XWiki Platform
  2. XWIKI-9837

Panels visible to the anonymous user even if wiki is set to prevent unregistered users from viewing pages

    XMLWordPrintable

Details

    • Bug
    • Resolution: Duplicate
    • Major
    • None
    • 5.3
    • Old Core
    • None
    • Unknown

    Description

      This seems to be a regression for XWIKI-9126 except that the check there is still in place, but seemingly ineffective:

      Steps to reproduce:

      • on a freshly installed wiki, log in as admin and go to "Administer Wiki", section "Rights"
      • make sure the anonymous user has "view" rights
      • set the Checkbox on "Prevent unregistered users from viewing pages, regardless of the page or space rights"
      • log out

      expected behaviour: Login page without any panels should be shown.
      observed behaviour: Login page is shown with panels, even though the user has no view rights for them.

      Alternatively (and that is why the tests did not complain) one might argue that is is not a bug, as viewing the full page is not allowed, only the "panel" view. What the tests for XWIKI-9126 actually test is that removing the "view" right of the anonymous user (that is the green "check" mark) is making the panels go away, not that setting the (black) checkbox for the "Prevent unregistered users from viewing pages," checkbox. In that case please close this issue as "Invalid".

      Attachments

        Issue Links

          Activity

            People

              camil7 Clemens Robbenhaar
              camil7 Clemens Robbenhaar
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: