Details
-
Bug
-
Resolution: Duplicate
-
Major
-
None
-
2.0 M1
-
None
-
Unknown
-
Description
When checking access rights for a global user from the global wiki on a document in a virtual wiki, depending on the rights set on the local wiki, checkAccess returns true, while hasAccessLevel returns false.
I didn't inspect this, but my guess is that the latter method switches the context wiki, without updating the username to remember his origin wiki, so it checks the rights for a non-existing local user.
Attachments
Issue Links
- is related to
-
XPLUCENE-44 Sometimes results from a local wiki are discarded in a global search
- Closed
- relates to
-
XWIKI-5677 Fix 'Rename' page feature for document creators
- Closed