Class CanClaimItemFeature

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

@Component @AuthorizationFeatureDocumentation(name="canClaimItem", description="Used to verify if the current user is able to claim this item as their profile. Only available if the current item is not already claimed.") public class CanClaimItemFeature extends Object implements AuthorizationFeature
Checks if the given user can claim the given item. An item can be claimed only if the show claim is enabled for it (see org.dspace.app.rest.authorization.impl.ShowClaimItemFeature).
Author:
Luca Giamminonni (luca.giamminonni at 4science.it)