mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-06-13 13:54:23 +00:00
upgrade ReportVoter to sf3
This commit is contained in:
parent
835b36f281
commit
9c87db1519
@ -75,7 +75,7 @@ class ReportVoter extends AbstractChillVoter implements ProvideRoleHierarchyInte
|
|||||||
|
|
||||||
public function getRoles()
|
public function getRoles()
|
||||||
{
|
{
|
||||||
return $this->getSupportedAttributes();
|
return [self::CREATE, self::UPDATE, self::SEE];
|
||||||
}
|
}
|
||||||
|
|
||||||
public function getRolesWithoutScope()
|
public function getRolesWithoutScope()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user