title: Symfony granting path access to multiple roles in security.yml
body: <p>Hi I would like to be able to allow access to a path in <code>security.yml</code> based on the user either having <code>ROLE_TEACHER</code>, or <code>ROLE_ADMIN</code>.</p>
  
  <p>According to the question in <a href="https://stackoverflow.com/questions/14798554/multiple-roles-required-for-same-url-in-symfony-2">Multiple roles required for same url in symfony 2</a> the entry below should allow either role access.</p>
  
  <pre><code>- { path: ^/admin, roles: ROLE_ADMIN}
  - { path: ^/admin, roles: ROLE_TEACHER}
  </code></pre>
  
  <p>However, this will only allow the top role access.  Is there a way of having multiple role access to a single path?</p>