List<PermissionTemplate> objects = new ArrayList<PermissionTemplate>();
objects.add(new PermissionTemplate(this, AUTH_USER_EDIT, false));
PermissionTemplate userPermission = new PermissionTemplate(this, AUTH_USER, true);
List<UserGroup> userGroups = userGroupDao.findAll();
userPermission.addValue(new KeyValue("*","All Groups"));
for(UserGroup userGroup : userGroups) {
KeyValue v = new KeyValue(userGroup.getGroupKey(), userGroup.getGroupKey() + " - " + userGroup.getDescription());
userPermission.addValue(v);
}