Details
-
Bug
-
Resolution: Duplicate
-
Major
-
None
-
5.3
-
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
- duplicates
-
XWIKI-9156 The Wiki UIExtensions should check the rights before executing extension points
- Closed