HSAdmin Backend Domains, E-Mail, Datenbanken
Peter Hormanns
2012-01-04 d8ac72d343219ccb0e2982fe42b55c7d1db84cfe
subdomains to pacdomain are not allowed
1 files modified
2 ■■■ changed files
hsarback/src/de/hsadmin/mods/dom/DomainModuleImpl.java 2 ●●● patch | view | raw | blame | history
hsarback/src/de/hsadmin/mods/dom/DomainModuleImpl.java
@@ -109,7 +109,7 @@
                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