diff --git a/hsarback/src/de/hsadmin/mods/dom/DomainModuleImpl.java b/hsarback/src/de/hsadmin/mods/dom/DomainModuleImpl.java index c39d721..7812db1 100644 --- a/hsarback/src/de/hsadmin/mods/dom/DomainModuleImpl.java +++ b/hsarback/src/de/hsadmin/mods/dom/DomainModuleImpl.java @@ -150,9 +150,9 @@ public class DomainModuleImpl extends AbstractModuleImpl { if (admin == null || admin.getName() == null || admin.getName().length() == 0) { throw new HSAdminException("domain admin required"); } - if (!admin.getName().equals(oldDom.getUser().getName())) { - throw new AuthorisationException(loginUser, "update", existingEntity, "user"); - } +// if (!admin.getName().equals(oldDom.getUser().getName())) { +// throw new AuthorisationException(loginUser, "update", existingEntity, "user"); +// } Query q = em.createQuery("SELECT opt FROM " + DomainOption.class.getAnnotation(javax.persistence.Entity.class).name() + " opt WHERE opt.name=:optName");