New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unrecognized options "expressions" under "jms_security_extra" #24
Comments
are you using the master branch of the bundle or the old version provided with Symfony 2.0 ? |
uhm... i'm using the Symfony 2.0 version. how can I use the master branch? maybe must I make some modification in my deps file? |
I have modified the corresponding entry in the deps file:
But still displays the error:
|
I have also downloaded the zip file of the master branch, and deleted the Symfony one. I have manually removed the cache. Still the same problem. |
Please check what version is in the JMSSecurityExtraBundle.php file. The expressions key definitely exists: |
Ok, the issue was with the bin/vendors script, as I was running it through the "install" option, but instead the correct way is the "update" option. This should be made clearer on the documentation :) |
@webnius |
same if in deps but if |
After following the installation instructions, I'm trying to set the expressions option in app/config/config.yml, and when I clear the cache I get this error:
[Symfony\Component\Config\Definition\Exception\InvalidConfigurationException]
Unrecognized options "expressions" under "jms_security_extra"
Other options are not working either, such as method_access_control (the one that I need).
The text was updated successfully, but these errors were encountered: