From 183b55536864a240b9c885900114a986c86abbb6 Mon Sep 17 00:00:00 2001 From: Purodha Blissenbach Date: Wed, 18 Jul 2012 13:39:17 +0000 Subject: [PATCH] =?UTF-8?q?Versuchsweise=20eine=20Pr=C3=BCfung=20rausgenom?= =?UTF-8?q?men,=20um=20zu=20schauen,=20ob=20da=20unser=20Berechtigungsprob?= =?UTF-8?q?lem=20herkommt.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- hsarback/src/de/hsadmin/mods/dom/DomainModuleImpl.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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");