Class ComColAdminFeature

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

@Component @AuthorizationFeatureDocumentation(name="isComColAdmin", description="It can be used to verify if the current user is admin of any community or collection in the site") public class ComColAdminFeature extends Object implements AuthorizationFeature
The ComCol Admin feature. It can be used to verify if the current user is admin of any community or collection in the site. Authorization is granted if the current user has ADMIN permissions for any Community or Collection anywhere in the site, or if the current user is a site admin.