How can I hide a space for some users??

Version 2.1 by Vincent Massol on 2012/03/24

This is an area that should be improved shortly, see this discussion.

In the meantime we have the notion of "blacklisted spaces". You can edit the file called xwikivars.vm (see the Skin page to learn about overriding/modifying/creating Skins) and modify the line that contains the following by adding more spaces to exclude:

#if ($hasAdmin || $isAdvancedUser)
  #set ($blacklistedSpaces = [])
#else
  #set ($blacklistedSpaces = ['Import', 'Panels', 'Scheduler', 'Stats', 'XAppClasses', 'XAppSheets', 'XAppTemplates', 'XWiki', 'WatchCode', 'WatchSheets', 'XApp', 'WatchAdmin', 'Watch', 'ColorThemes', 'AnnotationCode'])
#end

Get Connected