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

Advanced users from Main Wiki become Simple users on pages last edited by local users on a subwiki

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Blocker
    • Resolution: Fixed
    • Affects Version/s: 12.4
    • Fix Version/s: 12.5.1, 12.6
    • Component/s: None
    • Environment:
      Windows 10 Pro 64 bit, Chrome 83, using a local instance of XWiki 12.5 on MariaDB 10.4, Jetty 9.4.29
    • Tests:
      Unit
    • Difficulty:
      Unknown
    • Documentation:
      N/A
    • Documentation in Release Notes:
      N/A
    • Similar issues:

      Description

      STEPS TO REPRODUCE

      1. Login as Admin
      2. Set the User Type to be Advanced
      3. Create a subwiki
      4. Create a local user on that subwiki (e.g. UL1)
      5. Create a page (SubwikiP1)
      6. Login with the local user (UL1)
      7. Create a page as well (SubwikiP2)
      8. Login again as Admin
      9. Go to the SubwikiP1
      10. Go to the SubwikiP2
      11. Create a terminal page from SubwikiP2

      EXPECTED RESULTS

      The Admin can create a terminal page from SubwikiP2 (page previously created and saved by UL1) as his user is Advanced.

      ACTUAL RESULTS

      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.

        Attachments

          Activity

            People

            • Assignee:
              surli Simon Urli
              Reporter:
              iandriuta Ilie Andriuta
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: