Class ViewWorkflowStatisticsFeature

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

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

  • Constructor Details

    • ViewWorkflowStatisticsFeature

      public ViewWorkflowStatisticsFeature()
  • Method Details