Hello, I wanted blacklist some space for simple user...
Then I try to make invisible "Sandbox" space with this code in xwikivars.vm template ## ====================================================================================== ## 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', 'Sandbox']) #end It doesn' t work well because the search tools find all pages from Sandbox space and Space->"Document Index" to. Of course I can hidden all page in Sandbox space but I can't hidden new page by default. A bug? How can I hide some space? Thxs Pascal B _______________________________________________ users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users
