File tree 2 files changed +24
-0
lines changed
Filter options
2 files changed +24
-0
lines changed
Original file line number Diff line number Diff line change @@ -61,6 +61,25 @@ Routing
61
61
* Added argument ` $priority ` to ` RouteCollection::add() `
62
62
* Deprecated the ` RouteCompiler::REGEX_DELIMITER ` constant
63
63
64
+ Security
65
+ --------
66
+
67
+ * Deprecated ` ROLE_PREVIOUS_ADMIN ` role in favor of ` IS_IMPERSONATOR ` attribute.
68
+
69
+ * before*
70
+ ``` twig
71
+ {% if is_granted('ROLE_PREVIOUS_ADMIN') %}
72
+ <a href="">Exit impersonation</a>
73
+ {% endif %}
74
+ ```
75
+
76
+ * after*
77
+ ``` twig
78
+ {% if is_granted('IS_IMPERSONATOR') %}
79
+ <a href="">Exit impersonation</a>
80
+ {% endif %}
81
+ ```
82
+
64
83
Yaml
65
84
----
66
85
Original file line number Diff line number Diff line change @@ -49,3 +49,8 @@ Routing
49
49
* Removed ` RouteCollectionBuilder ` .
50
50
* Added argument ` $priority ` to ` RouteCollection::add() `
51
51
* Removed the ` RouteCompiler::REGEX_DELIMITER ` constant
52
+
53
+ Security
54
+ --------
55
+
56
+ * Removed ` ROLE_PREVIOUS_ADMIN ` role in favor of ` IS_IMPERSONATOR ` attribute
You can’t perform that action at this time.
0 commit comments