Skip to content
Snippets Groups Projects
Commit a10caf18 authored by Stéphane Laurière's avatar Stéphane Laurière Committed by Simon Urli
Browse files

XWIKI-20007: When sharing a page from a subwiki, global users with restricted access get suggested

- Resolve user page reference relatively to the wiki reference it
  belongs to, when controlling access
parent 08751a25
Branches lingohub_language_rocketchat_update_2024-09-02Z
No related tags found
No related merge requests found
......@@ -48,7 +48,7 @@
#if($results.size() >= 10)
#break
#end
#if ($services.security.authorization.hasAccess('view', $rawResult))
#if ($services.security.authorization.hasAccess('view', $services.model.resolveDocument($rawResult, $wikiReference)))
#set ($discard = $results.add($rawResult))
#end
#end
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment