On Mon, Apr 14, 2014 at 11:43 AM, Pascal BASTIEN
<pbasnews-xwiki(a)yahoo.fr> wrote:
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.
Could you setup rights on the Sandbox space so that simple users
cannot create new pages?
A bug?
No, a space is hidden if all its pages are hidden.
How can I hide some space?
By hiding all its pages, as you mentioned and making sure they stay
hidden (access rights).
Hope this helps,
Marius
> Thxs
> Pascal B
> _______________________________________________
> users mailing list
> users(a)xwiki.org
>
http://lists.xwiki.org/mailman/listinfo/users