/**
  * Attach permission to a given role.
  *
  * @param int $permission
  * @param int $role
  * @return void
  */
 protected function attach_permission_to_role($permission, $role)
 {
     $role = Role::findorfail($role);
     $role->attachPermission($permission);
 }