X-Git-Url: https://git.rapsys.eu/userbundle/blobdiff_plain/0929c559670ac8d386a047789712e6164a640326..e57fd4e1f21e9a7b44e7d9db078e261ddc0450cf:/Entity/Group.php?ds=sidebyside diff --git a/Entity/Group.php b/Entity/Group.php index c97515c..901fbc6 100644 --- a/Entity/Group.php +++ b/Entity/Group.php @@ -190,6 +190,7 @@ class Group { * @return string */ public function getRole(): string { + //XXX: $prefix = 'ROLE_' set in Role*Voter classes return 'ROLE_'.strtoupper($this->title); } }