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

Superadmin user should see hidden documents by default

    XMLWordPrintable

Details

    • Improvement
    • Resolution: Fixed
    • Major
    • 12.2
    • 5.2
    • Old Core
    • None
    • Unit
    • Unknown

    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

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

              Dates

                Created:
                Updated:
                Resolved: