Skip to content

Previews of restricted files. #1321

@kosarko

Description

@kosarko

We generally should not show (or maybe even generate) previews of restricted files.

Originally posted by @kosarko in #1316 (comment)

Why is the authorization false in

boolean canPreview = previewContentService.canPreview(context, bitstream, false);
and
boolean canPreview = previewContentService.canPreview(context, bitstream, false);
?

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions