Class DownloadFeature

java.lang.Object
org.dspace.app.rest.authorization.impl.DownloadFeature
All Implemented Interfaces:
AuthorizationFeature

@Component @AuthorizationFeatureDocumentation(name="canDownload", description="It can be used to verify if the user can download a bitstream") public class DownloadFeature extends Object implements AuthorizationFeature
The download bitstream feature. It can be used to verify if a bitstream can be downloaded. Authorization is granted if the current user has READ permissions on the given bitstream.