I've upgraded my development tree from vPR5 to vPR6. Now security is
broken in my application.
I've got this in my config.yml:
security.config:
encoders:
Symfony\Component\Security\User\AccountInterface:
algorithm: plaintext
providers:
main:
users:
frenck: { password: foo, roles: ROLE_SUPER_ADMIN }
firewalls:
main:
pattern: /.*
http-basic: true
access_denied_url: /foo/error403
access_control:
- { path: /.*, role: ROLE_USER, requires_channel: https }
role_hierarchy:
ROLE_EMPLOYEE: ROLE_USER
ROLE_ADMIN: [ROLE_USER, ROLE_EMPLOYEE]
ROLE_SUPER_ADMIN: [ROLE_USER, ROLE_EMPLOYEE, ROLE_ADMIN,
ROLE_ALLOWED_TO_SWITCH]
My application throws:
InvalidArgumentException: There is no extension able to load the
configuration for "security.config" (in /var/www/PostOfficeSymfony/
postoffice/config/security.yml). in /var/www/PostOfficeSymfony/vendor/
symfony/src/Symfony/Component/DependencyInjection/Loader/
YamlFileLoader.php on line 237
What's wrong?
I've tried looking at the master documentation, but it seems not to be
updated for this (preview) release.
Any help or pointers in the right direction would be appriciated.
../Frenck
--
If you want to report a vulnerability issue on symfony, please send it to
security at symfony-project.com
You received this message because you are subscribed to the Google
Groups "symfony users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/symfony-users?hl=en