Commit 01b49c0
committed
feature #61504 [SecurityHttp] Removes final keyword from IsGranted attribute (crtl)
This PR was squashed before being merged into the 7.4 branch.
Discussion
----------
[SecurityHttp] Removes final keyword from IsGranted attribute
| Q | A
| ------------- | ---
| Branch? | 7.4
| Bug fix? | no
| New feature? | yes
| Deprecations? | no <!-- if yes, also update UPGRADE-*.md and src/**/CHANGELOG.md -->
| Issues | Fix #60896
| License | MIT
Often times the same set of rules is reused many times across a project making it tedious having to manually add the attributes with their specific configuration.
Making `#[IsGranted]` non `final` allows developers to implement custom attributes like `#[IsAdmin]` etc. in their projects.
Commits
-------
3392f34 [SecurityHttp] Removes final keyword from IsGranted attributeFile tree
2 files changed
+2
-1
lines changed- src/Symfony/Component/Security/Http
- Attribute
2 files changed
+2
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
22 | 22 | | |
23 | 23 | | |
24 | 24 | | |
25 | | - | |
| 25 | + | |
26 | 26 | | |
27 | 27 | | |
28 | 28 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
| 11 | + | |
11 | 12 | | |
12 | 13 | | |
13 | 14 | | |
| |||
0 commit comments