symfony/symfony — pull request #7601 by Brammm (2013-04-08 13:14:39+00:00)
Title: [Security] [Acl] [BasicPermissionMap] Made $map protected and moved it to __construct

| Q | A
| ------------- | ---
| Bug fix? | no
| New feature? | no
| BC breaks? | no
| Deprecations? | no
| Tests pass? | yes
| Fixed tickets |
| License | MIT
| Doc PR |

By making $map protected and moving it to the construct, you can simply extend the BasicPermissionMap class if you want to simply add some extra permissions. In it's current form, you have to copy/paste the entire array AND the getMasks and contains functions.