Details
-
Bug
-
Resolution: Fixed
-
Major
-
5.4.5
-
Unknown
-
N/A
-
N/A
-
Description
The following code:
private DocumentReferenceResolver<String> userAndGroupReferenceResolver = Utils.getComponent(DocumentReferenceResolver.TYPE_STRING, "user"); return userAndGroupReferenceResolver.resolve(null, wikiReference);
will return the reference <default wiki>:XWiki.<default page> (i..e xwiki:XWiki.WebHome by default)
It should return null instead to signify the guest user.
Attachments
Issue Links
- relates to
-
XWIKI-11232 Wiki Index fails to list wikis for which guest has view permissions
- Closed