[SecurityBundle] removed the option to declare access_control rules based on request attributes

This commit is contained in:
Johannes Schmitt 2011-03-11 01:47:23 +01:00
parent d8022e34eb
commit c73d1c3406

View File

@ -107,16 +107,6 @@ class Configuration
->beforeNormalization()->ifString()->then(function($v) { return preg_split('/\s*,\s*/', $v); })->end()
->prototype('scalar')->end()
->end()
->fixXmlConfig('attribute')
->arrayNode('attributes')
->useAttributeAsKey('key')
->prototype('scalar')
->beforeNormalization()
->ifTrue(function($v) { return is_array($v) && isset($v['pattern']); })
->then(function($v) { return $v['pattern']; })
->end()
->end()
->end()
->end()
->end()
;