diff --git a/Export/Aggregator/ActivityReasonAggregator.php b/Export/Aggregator/ActivityReasonAggregator.php index 8bcf9d1c8..a0d01baf2 100644 --- a/Export/Aggregator/ActivityReasonAggregator.php +++ b/Export/Aggregator/ActivityReasonAggregator.php @@ -23,7 +23,7 @@ use Symfony\Component\Form\FormBuilderInterface; use Doctrine\ORM\QueryBuilder; use Chill\MainBundle\Export\AggregatorInterface; use Symfony\Component\Security\Core\Role\Role; -use Chill\ActivityBundle\Security\Authorization\ActivityVoter; +use Chill\ActivityBundle\Security\Authorization\ActivityStatsVoter; use Doctrine\ORM\EntityRepository; use Chill\MainBundle\Templating\TranslatableStringHelper; @@ -149,7 +149,7 @@ class ActivityReasonAggregator implements AggregatorInterface public function addRole() { - return new Role(ActivityVoter::SEE); + return new Role(ActivityStatsVoter::STATS); } public function getLabels($key, array $values, $data)