Class CollectionAdminFeature

  • All Implemented Interfaces:
    AuthorizationFeature

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