From d8ac72d343219ccb0e2982fe42b55c7d1db84cfe Mon Sep 17 00:00:00 2001 From: Peter Hormanns Date: Wed, 4 Jan 2012 15:56:15 +0000 Subject: [PATCH] subdomains to pacdomain are not allowed --- 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 550e6d2..f0dc96c 100644 --- a/hsarback/src/de/hsadmin/mods/dom/DomainModuleImpl.java +++ b/hsarback/src/de/hsadmin/mods/dom/DomainModuleImpl.java @@ -109,7 +109,7 @@ public class DomainModuleImpl extends AbstractModuleImpl { if (resultList.size() > 0) { Domain superDom = (Domain) resultList.get(0); if (superDom.isPacDomain()) { - throw new HSAdminException("subdomains to pacdomain " + superDom.getName() + " is not allowed"); + throw new HSAdminException("subdomains to pacdomain " + superDom.getName() + " are not allowed"); } if (loginUser.hasPacAdminRoleFor(superDom.getUser().getPac())) { break; // same pac