Class ManageTemplateItemFeature

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

@Component @AuthorizationFeatureDocumentation(name="canManageTemplateItem", description="It can be used to verify if a collection template item can be created, deleted, viewed or edited") public class ManageTemplateItemFeature extends Object implements AuthorizationFeature
The ManageTemplateItem feature. It can be used to verify if a collection template item can be created, deleted, viewed or edited. Authorization is granted if the current user has ADMIN permissions on the given collection and the configuration allows the collection admin to be the template item admin, OR the current user is the admin of the collection's template item.