X-Git-Url: https://git.rapsys.eu/userbundle/blobdiff_plain/0929c559670ac8d386a047789712e6164a640326..1f685f05db67def73fd571236cd3f94af4932bd8:/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); } }