HttpServletRequest request,
AbstractEditorForm form,
ObjectRepository objectRepository) throws Exception
{
Session session = ThreadSession.get();
DomainObject person = super.createObject(objectClass, request, form, objectRepository);
session.save(new Permission("system.person",person.getId(),person.getId(),"edit%"));
session.save(new Permission("system.person",0,person.getId(),"read%"));
return person;
}