diff --git a/Export/Aggregator/ReasonAggregator.php b/Export/Aggregator/ReasonAggregator.php index e24457525..7a97cad47 100644 --- a/Export/Aggregator/ReasonAggregator.php +++ b/Export/Aggregator/ReasonAggregator.php @@ -22,6 +22,7 @@ namespace Chill\ActivityBundle\Export\Aggregator; use Symfony\Component\Form\FormBuilderInterface; use Doctrine\ORM\QueryBuilder; use Chill\MainBundle\Export\AggregatorInterface; +use Symfony\Component\Security\Core\Role\Role; /** * @@ -84,5 +85,10 @@ class ReasonAggregator implements AggregatorInterface { return "Aggregate by activity reason"; } + + public function requiredRole() + { + return new Role('dummy'); + } }