Versuchsweise eine Prüfung rausgenommen, um zu schauen, ob da unser Berechtigungsproblem herkommt.
This commit is contained in:
parent
f27e744cd2
commit
183b555368
@ -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");
|
||||
|
Loading…
Reference in New Issue
Block a user