Oro - Synolab

Disable OroCRM firewall on a specific URI pattern

Par Synolia le 31 janvier 2017

 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

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
LinkedIn Email
GIF