Affects Version/s: 12.4
Environment:Windows 10 Pro 64 bit, Chrome 83, using a local instance of XWiki 12.5 on MariaDB 10.4, Jetty 9.4.29
Documentation in Release Notes:N/A
STEPS TO REPRODUCE
- Login as Admin
- Set the User Type to be Advanced
- Create a subwiki
- Create a local user on that subwiki (e.g. UL1)
- Create a page (SubwikiP1)
- Login with the local user (UL1)
- Create a page as well (SubwikiP2)
- Login again as Admin
- Go to the SubwikiP1
- Go to the SubwikiP2
- Create a terminal page from SubwikiP2
The Admin can create a terminal page from SubwikiP2 (page previously created and saved by UL1) as his user is Advanced.
When accessing the pages last edited by a local subwiki user, the Admin becomes a Simple User only on those pages.
If the page is edited then saved by Admin, the Advanced User is kept (requires a page refresh to display the Edit drop-down button).
The same issue can be reproduced when an (Advanced) non-Admin user from Main Wiki is added as a member of the subwiki (to have edit rights).
However, for local Advanced Users (admin or non-admin) the issue is not reproducing. If an Advanced local user access a page last saved by another (local) user, its Advanced User is kept.
The issue could not be reproduced on XWiki 12.3.