mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-09-01 20:43:49 +00:00
implements dummy role
This commit is contained in:
@@ -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');
|
||||
}
|
||||
|
||||
}
|
||||
|
Reference in New Issue
Block a user