Class ManageAdminGroupFeature

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

@Component @AuthorizationFeatureDocumentation(name="canManageAdminGroup", description="It can be used to verify if the collection admin group can be created, deleted, viewed or edited.") public class ManageAdminGroupFeature extends Object implements AuthorizationFeature
The manage admin group feature. It can be used to verify if a collection admin group 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 manage admin groups, OR the current user has ADMIN permissions on the given collection's owning community and the configuration allows the community admin to manage admin groups.