upgrade ReportVoter to sf3

This commit is contained in:
Julien Fastré 2018-05-16 16:59:33 +02:00
parent 835b36f281
commit 9c87db1519

View File

@ -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()