Class ViewSearchStatisticsFeature

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

@Component @AuthorizationFeatureDocumentation(name="canViewSearchStatistics", description="It can be used to verify if the search statistics can be viewed") public class ViewSearchStatisticsFeature extends Object implements AuthorizationFeature
The view search statistics feature. It can be used to verify if search statistics can be viewed. In case DSpace is configured to only show search statistics to administrators, authorization is granted if the current user is the site admin. Otherwise, authorization is granted if the current user can view the site.
  • Field Details

  • Constructor Details

    • ViewSearchStatisticsFeature

      public ViewSearchStatisticsFeature()
  • Method Details