mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-06-12 21:34:25 +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()
|
||||
{
|
||||
return $this->getSupportedAttributes();
|
||||
return [self::CREATE, self::UPDATE, self::SEE];
|
||||
}
|
||||
|
||||
public function getRolesWithoutScope()
|
||||
|
Loading…
x
Reference in New Issue
Block a user