Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
minor #20544 [Security] Remove mention of is_granted_
$field
argume…
…nt (smnandre) This PR was merged into the 7.3 branch. Discussion ---------- [Security] Remove mention of is_granted_ `$field` argument The third argument of is_granted / is_granted_for_user is undocumented (except on this page) (neither on Symfony docs, code, nor on... Symfony ACL Bundle docs). It must be kept and maintained for BC reasons. But it can be missleading/frustrating to show this argument to users, when they cannot use it with a standard/recommended Symfony installation. And if they just test it, the error could lead them to believe the AclBundle needs to be installed to use the `is_granted` function(s). As suggested in symfony/symfony#59282 (comment) I believe "not showing it" is the "best" solution here. Commits ------- 693b758 [Security] Remove mention of is_granted_ `$field` argument
- Loading branch information