From 32f8e90490f8db64c6d11d3ace9c2c969cf72a52 Mon Sep 17 00:00:00 2001 From: Peter Hormanns Date: Wed, 18 Jul 2012 14:56:20 +0000 Subject: [PATCH] fix logic --- hsarback/src/de/hsadmin/mods/dom/DomainModuleImpl.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hsarback/src/de/hsadmin/mods/dom/DomainModuleImpl.java b/hsarback/src/de/hsadmin/mods/dom/DomainModuleImpl.java index 9d6a25e..aa85427 100644 --- a/hsarback/src/de/hsadmin/mods/dom/DomainModuleImpl.java +++ b/hsarback/src/de/hsadmin/mods/dom/DomainModuleImpl.java @@ -213,7 +213,7 @@ public class DomainModuleImpl extends AbstractModuleImpl { boolean isCustomer = aLoginUserName.equals(domPac.getCustomer().getName()); boolean isHostmaster = loginUser.hasHostmasterRole(); if (!isPacAdmin && !isCustomer && !isHostmaster) { - if (! isDomAdmin || !"update".equals(method)) { + if (!isDomAdmin || !"update".equals(method)) { throw new AuthorisationException(loginUser, method, dom); } }