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

$blacklistedSpaces are not working anymore

    XMLWordPrintable

Details

    • Unknown
    • Awaiting Committer feedback

    Description

      Hello,

      The template templates/xwikivars.vm contains the list of spaces to blacklist so that simple users don't see them in $blacklistedSpaces but it seem that this feature doesn't working anymore.
      A simple user can find the page with search suggest and Ctrl+G shortcut in root CustomSpace if pages of this space is not hidden.

      ## ======================================================================================
      ## Compute list of spaces to blacklist so that simple users don't see them.
      ## TODO : replace this list by a hidden space feature.
      ## ======================================================================================
      #if ($hasAdmin || $isAdvancedUser)
        #set ($blacklistedSpaces = [])
      #else
        #set ($blacklistedSpaces = ['Import', 'Panels', 'Scheduler', 'Stats', 'XAppClasses', 'XAppSheets', 'XAppTemplates', 'XWiki', 'WatchCode', 'WatchSheets', 'XApp', 'WatchAdmin', 'Watch', 'ColorThemes', 'AnnotationCode'])
      #end
      

      But anyway, since nested page maybe $blacklistedSpaces is not used anymore or maybe the "TODO : replace this list by a hidden space feature." must be replace by "Since xwiki xxx this list is replaced by hidden space feature."?

      Thxs.

      Pascal B

      Attachments

        Activity

          People

            surli Simon Urli
            Pbas Pascal BASTIEN
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: