Beispiel #1
0
  public void permissionsSave() {
    int id = this.request.getIntParameter("id");

    GroupSecurityDAO gmodel = DataAccessDriver.getInstance().newGroupSecurityDAO();

    PermissionControl pc = new PermissionControl();
    pc.setSecurityModel(gmodel);

    new PermissionProcessHelper(pc, id).processData();

    SecurityRepository.clean();
    RolesRepository.clear();
    ForumRepository.clearModeratorList();

    this.list();
  }