Details
-
Bug
-
Resolution: Fixed
-
Major
-
9.4-rc-1
-
Unit
-
Unknown
-
N/A
-
N/A
-
Description
Steps to reproduce:
- Create a document that has restricted view right and delete it again.
- As a user with script right but no view right on that deleted document (but view right on its space), access the deleted document through XWiki#getDocument(DocumentReference reference, String revision).
Expected result:
An exception is thrown.
Actual result:
The deleted document is returned.
This has probably been introduced in XWIKI-14252 which introduced the deleted:-prefix for revisions, so most likely this affects 9.4RC1.
Attachments
Issue Links
- blocks
-
XWIKI-20684 Comments of deleted documents can be viewed through REST API
- Closed
-
XWIKI-20817 The diff displays deleted revisions without additional right check
- Closed
- duplicates
-
XWIKI-20817 The diff displays deleted revisions without additional right check
- Closed
- is caused by
-
XWIKI-14252 Viewing a document in the recycle bin is no longer working
- Closed
- is related to
-
XWIKI-16285 The rights stored in the deleted document are not taken into account when viewing it
- Closed
- links to