Rapsys Git
/
userbundle
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3e7a34a
)
Add ROLE_ related note
author
Raphaël Gertz
<git@rapsys.eu>
Mon, 11 Dec 2023 02:14:16 +0000
(
03:14
+0100)
committer
Raphaël Gertz
<git@rapsys.eu>
Mon, 11 Dec 2023 02:14:16 +0000
(
03:14
+0100)
Entity/Group.php
patch
|
blob
|
history
diff --git
a/Entity/Group.php
b/Entity/Group.php
index c97515c1f36f1e3ad260136508df93dc87f42cb0..901fbc64d82897989cad5722861d93b161020ee9 100644
(file)
--- 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);
}
}