title: How to: implement sentry 2 permissions with Laravel 4?
body: <p>I'm trying to use cartalyst sentry 2 in my site being built with Laravel 4. Basically I don't understand how to implement permissions.</p>
  
  <p>The examples I've seen for permissions for a group specify the following as an example:</p>
  
  <pre><code>{
      "name" : "Administrator",
      "permissions" : 
      {
          "user.create" : 1,
          "user.delete" : 1,
          "user.view"   : 1,
          "user.update" : 1
      }
  }
  </code></pre>
  
  <p>SO this is setting permissions for the admin group. BUT where are these permissions set?</p>
  
  <p>In the table 'groups' there is a field called permissions which is a text field - are they set there - if so how? Or are these set in a model or controller?</p>
  
  <p>Can anyone point me to s step by step on how to use in a laravel 4 app? I've read the supporting docs which foes through the functions but I'm just not sure how to set the data to get the functions to work.</p>