diff options
author | Fabien Potencier <fabien.potencier@gmail.com> | 2011-07-13 11:30:35 +0200 |
---|---|---|
committer | Fabien Potencier <fabien.potencier@gmail.com> | 2011-07-13 11:30:35 +0200 |
commit | 608c2c6c49cebc114bb080fc9a373add53482900 (patch) | |
tree | eff12b6fbf4a56c2d06dd7c38455933e826f941b /Core/Encoder | |
parent | e92d9dbcde69ce8b78dc3a5924390b15c80a1e2b (diff) | |
parent | bf467f101fdde411d87826af51f9229ec394a3d4 (diff) | |
download | symfony-security-608c2c6c49cebc114bb080fc9a373add53482900.zip symfony-security-608c2c6c49cebc114bb080fc9a373add53482900.tar.gz symfony-security-608c2c6c49cebc114bb080fc9a373add53482900.tar.bz2 |
merged branch yktd26/master (PR #1673)
Commits
-------
26ff05b fixes #1538
Discussion
----------
fixes #1538
Constructor of Symfony\Component\Security\Acl\Domain\RoleSecurityIdentity
--------------------------------------------------------------------------------------------------------
currently it check if the argument is instance of Symfony\Component\Security\Core\Role\Role by
``if ($role instanceof Role)``
Maybe it should be changed to
``if ($role instanceof RoleInterface)``
Because if we use another Role class which implements RoleInterface
it dosen't work when we check access, it will throw a *NoAceFoundException* when vote
Diffstat (limited to 'Core/Encoder')
0 files changed, 0 insertions, 0 deletions