title: Symfony2 User permission managment
body: <p>I come to you because I have a little concern about the management of users and their Permissions with Symfony2. </p>
  
  <p>Let me explain:</p>
  
  <p>I set up the FOSUserBundle:</p>
  
  <p>What I'd like to do now is a rights management. I have an entity 'Post'.
  I have users with roles specified below. </p>
  
  <pre><code>ROLE_GUEST -  VIEW,RATE
  ROLE_USER  -  VIEW,CREATE,RATE,EDIT_OWN
  ROLE_EDITOR - VIEW,CREATE,RATE,EDIT,DELETE  
  </code></pre>
  
  <p>I want to set permission to each roles for performing certain actions.</p>
  
  <p>Thank you :)</p>