Commit 9c87db15 authored by Julien Fastré's avatar Julien Fastré
Browse files

upgrade ReportVoter to sf3

parent 835b36f2
Pipeline #52460 failed with stages
in 47 seconds
......@@ -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()
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment