From 5305ca069746c39ab9271fdf4ee9e14287237c21 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Rapha=C3=ABl=20Gertz?= Date: Mon, 11 Dec 2023 03:14:16 +0100 Subject: [PATCH] Add ROLE_ related note --- Entity/Group.php | 1 + 1 file changed, 1 insertion(+) 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); } } -- 2.41.1