Lecture 1 minute
Context
In some situations, you will need to disable security for part of OroCRM:
- Make a simple CAS system
- Display some informations (statistics) with no need of authentification
- Give access to some kind of FAQ (how to register to CRM, how to login, how to retrieve a password...)
- ...
How to
To do that, you have to create a new Bundle with a specific file : app.yml
1 2 3 4 5 6 7 |
# MyBundle/Resources/config/oro/app.yml security: firewalls: foo: pattern: ^/ipsum/dolor/ provider: chain_provider anonymous: true |
Customizing
Each parameter of the file defines:
- foo: Area name. Must be different of classic ones (embedded_form, tracking_data, wsse_secured ...)
- pattern: Route pattern of your controller or your controllers
- provider: Always chain_provider
- anonymous: Always true