내가 최근 JMSSecurityExtraBundle를 구성하고 난 내 방화벽 규칙에 식을 추가하려고 할 때 나에게이 오류가 발생합니다 :JMSSecuritybundle 던지는 "security.expressions.expression"정의에 대해 정의 "security.expressions.expression
Fatal error: Uncaught exception 'Symfony\Component\DependencyInjection\Exception\RuntimeException' with message 'The parent definition "security.expressions.expression" defined for definition "security.expressions.expression.3b9a3b9db79b52922a36b870bc46e5b114425575" does not exist.'
을
http://jmsyst.com/bundles/JMSSecurityExtraBundle/master/installation
이 오류가 발생합니다 :이 페이지에 설명 된대로 나는 정확한 설명을 다음
security:
access_control:
- { path: ^/foo, access: "hasRole('FOO') and hasRole('BAR')" }
HMH을 그것을 밖으로 시도 –