Changes for page Spaces


on 2022-08-02 10:56

on 2025-07-01 07:23
Summary
Details
- XWiki.WikiMacroClass[0]
-
- Macro code
-
... ... @@ -10,10 +10,9 @@ 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 and if the space is not blacklisted. 14 - ## $blacklistedSpaces is set in xwikivars.vm 13 + ## Display space only if the user has view right on space home 15 15 #set ($spaceHomeDocumentReference = $services.model.resolveSpace($space)) 16 - #if($xwiki.hasAccessLevel('view', $services.model.serialize($spaceHomeDocumentReference)) && !$blacklistedSpaces.contains($space))15 + #if($xwiki.hasAccessLevel('view', $services.model.serialize($spaceHomeDocumentReference))) 17 17 <li class="xitem xunderline xhighlight space"> 18 18 <div class="xitemcontainer"> 19 19 <div class="spSpaceName"><a href="$xwiki.getURL($spaceHomeDocumentReference)">${escapetool.xml($space)}</a></div>