HSAdmin Backend Domains, E-Mail, Datenbanken
Peter Hormanns
2012-07-18 32f8e90490f8db64c6d11d3ace9c2c969cf72a52
fix logic
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
@@ -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);
                }
            }