<?php

/**
 * User permission reference model.
 *
 * @package    sfDoctrineGuardPlugin
 * @subpackage model
 * @author     Fabien Potencier <fabien.potencier@symfony-project.com>
 * @version    SVN: $Id: PluginsfGuardUserPermission.class.php 23793 2009-11-11 17:42:50Z Kris.Wallsmith $
 */
abstract class PluginsfGuardUserPermission extends BasesfGuardUserPermission
{
  public function postSave($event)
  {
    parent::postSave($event);
    $this->getsfGuardUser()->reloadGroupsAndPermissions();
  }
}
