From: Raphaƫl Gertz Date: Mon, 11 Dec 2023 02:14:16 +0000 (+0100) Subject: Add ROLE_ related note X-Git-Tag: 0.3.1~9 X-Git-Url: https://git.rapsys.eu/userbundle/commitdiff_plain/5305ca069746c39ab9271fdf4ee9e14287237c21 Add ROLE_ related note --- 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); } }