File tree 2 files changed +6
-0
lines changed
src/Symfony/Bundle/SecurityBundle
Resources/views/Collector
2 files changed +6
-0
lines changed Original file line number Diff line number Diff line change @@ -14,6 +14,7 @@ CHANGELOG
14
14
* Deprecate passing an array of arrays as 1st argument to ` MainConfiguration ` , pass a sorted flat array of
15
15
factories instead.
16
16
* Deprecate the ` always_authenticate_before_granting ` option
17
+ * Display the roles of the logged-in user in the Web Debug Toolbar
17
18
18
19
5.3
19
20
---
Original file line number Diff line number Diff line change 41
41
<span class =" sf-toolbar-status sf-toolbar-status-{{ is_authenticated ? ' green' : ' yellow' }}" >{{ is_authenticated ? ' Yes' : ' No' }}</span >
42
42
</div >
43
43
44
+ <div class =" sf-toolbar-info-piece" >
45
+ <b >Roles</b >
46
+ <span >{{ collector .roles | join (' , ' ) }}</span >
47
+ </div >
48
+
44
49
<div class =" sf-toolbar-info-piece" >
45
50
<b >Token class</b >
46
51
<span >{{ collector .tokenClass | abbr_class }}</span >
You can’t perform that action at this time.
0 commit comments