Changes for page Spaces

on 2024-02-11 10:58

on 2020-04-11 15:51
Summary
Details
- XWiki.RequiredRightClass[0]
-
- Level
-
... ... @@ -1,1 +1,0 @@ 1 -edit
- XWiki.WikiMacroClass[0]
-
- Cached
-
... ... @@ -1,1 +1,0 @@ 1 -No - Asynchronous rendering
-
... ... @@ -1,1 +1,0 @@ 1 -No - Macro code
-
... ... @@ -10,9 +10,10 @@ 10 10 ## List spaces. 11 11 ## 12 12 #foreach($space in $spaceList) 13 - ## Display space only if the user has view right on space home 13 + ## Display space only if the user has view right on space home and if the space is not blacklisted. 14 + ## $blacklistedSpaces is set in xwikivars.vm 14 14 #set ($spaceHomeDocumentReference = $services.model.resolveSpace($space)) 15 - #if($xwiki.hasAccessLevel('view', $services.model.serialize($spaceHomeDocumentReference))) 16 + #if($xwiki.hasAccessLevel('view', $services.model.serialize($spaceHomeDocumentReference)) && !$blacklistedSpaces.contains($space)) 16 16 <li class="xitem xunderline xhighlight space"> 17 17 <div class="xitemcontainer"> 18 18 <div class="spSpaceName"><a href="$xwiki.getURL($spaceHomeDocumentReference)">${escapetool.xml($space)}</a></div> - Default category
-
... ... @@ -1,0 +1,1 @@ 1 +Deprecated - Default categories
-
... ... @@ -1,1 +1,0 @@ 1 -Deprecated