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

Superadmin user should see hidden documents by default

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 5.2
    • Fix Version/s: 12.2
    • Component/s: Old Core
    • Labels:
      None
    • Tests:
      Unit
    • Difficulty:
      Unknown
    • Similar issues:

      Description

      There are various ways to implement this:

      • Create a fake DocumentReference (in XWikiContext.getUserReference()/setUserReference()) and XWikiDocument for the superadmin user
      • Modify UserPreferencesConfigurationSource to handle the case of superadmin (but there's an issue to handle with the fact that ATM this module doesn't depend on oldcore and the model bridge doesn't have a way to know if the current user is the superadmin user).

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                vmassol Vincent Massol
                Reporter:
                vmassol Vincent Massol
              • Votes:
                3 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: