From 32f8e90490f8db64c6d11d3ace9c2c969cf72a52 Mon Sep 17 00:00:00 2001
From: Peter Hormanns <peter.hormanns@hostsharing.net>
Date: Wed, 18 Jul 2012 16:56:20 +0200
Subject: [PATCH] fix logic

---
 hsarback/src/de/hsadmin/mods/dom/DomainModuleImpl.java |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

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 @@
 			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);
 				}
 			}

--
Gitblit v1.9.0-SNAPSHOT