Skip to content

Commit

Permalink
[Security] allow to use method in XML configs
Browse files Browse the repository at this point in the history
Before this change, you always had to use the `methods` key which is
inconsistent compared to other options like `roles` and `ips` for which
it was possible to use their singular versions.
  • Loading branch information
xabbuh committed Jul 5, 2015
1 parent 7c36f0b commit 9b0dfd4
Showing 1 changed file with 1 addition and 0 deletions.
Expand Up @@ -158,6 +158,7 @@ private function addAccessControlSection(ArrayNodeDefinition $rootNode)
->cannotBeOverwritten()
->prototype('array')
->fixXmlConfig('ip')
->fixXmlConfig('method')
->children()
->scalarNode('requires_channel')->defaultNull()->end()
->scalarNode('path')
Expand Down

0 comments on commit 9b0dfd4

Please sign in to comment.