title: Attaching Permissions to Role in Laravel 5
body: <p>I used <strong>romanbican/roles</strong> package to manage my <code>roles/permissions</code>. Now, I have a specific role (e.g. <code>admin</code>) which has a permissions <code>create_user</code>, <code>edit_user</code>, <code>delete_user</code>. I used checkbox for this so if I <code>unchecked</code> a permission (e.g. <code>delete_user</code>), this permission will be <code>detached</code> from the <code>admin</code> role. Here's the link for the package I used, <a href="https://github.com/romanbican/roles" rel="nofollow noreferrer">https://github.com/romanbican/roles</a>. There's a method there called <code>attachRole()</code> or <code>attachPermission</code> and <code>detachRole</code> or <code>detachPermission</code>. Need your help guys, I'm stack for <strong>2 days</strong> about this, so I think it's time to ask :)</p>