-
Type: Bug
-
Status: Resolved
-
Priority: Critical
-
Resolution: Fixed
-
Affects Version/s: 10.10
-
Fix Version/s: 10.10-HF65, 2021.25
-
Component/s: Renditions
-
Release Notes Summary:Added a new DownloadContextBlobHolder and its writer for download permissions checking.
-
Tags:
-
Backlog priority:900
-
Sprint:nxplatform #68
-
Story Points:5
Currently the dowload context for renditions does not include the DocumentModel.
So if one contributes to the "permissions" extension of the DownloadService, it will fail because the doc is null.
We need to find a way to encapsulate the DocumentModel in the object returned by RenditionObject#doGet and then add this document to the DownloadContext at https://github.com/nuxeo/nuxeo/blob/10.10/nuxeo-webengine/nuxeo-webengine-core/src/main/java/org/nuxeo/ecm/webengine/model/io/BlobWriter.java#L97-L100
- causes
-
NXP-31383 Fix audit entries for rendition when audit is stored in MongoDB
- Resolved
- depends on
-
NXP-26683 Fix rendition download to use proper reason/rendition in permission check
- Resolved
- is duplicated by
-
NXP-30872 Current document is missing from context in file download permission for renditions
- Resolved