HSAdmin Backend Domains, E-Mail, Datenbanken
Peter Hormanns
2017-06-21 b83ca0d33f74fa00389d6bf1b33092846c34509d
remove static web pac
2 files modified
11 ■■■■■ changed files
hsarback/src/de/hsadmin/mods/pac/Pac.java 5 ●●●●● patch | view | raw | blame | history
hsarback/src/de/hsadmin/remote/RoleRemote.java 6 ●●●● patch | view | raw | blame | history
hsarback/src/de/hsadmin/mods/pac/Pac.java
@@ -290,11 +290,6 @@
        }
    }
    
    public boolean isDynamic() {
        String basepacName = getBasepac().getName();
        return BasePacType.PAC_DW.equals(basepacName) || BasePacType.PAC_WEB.equals(basepacName);
    }
    public boolean isManagedServer() {
        String basepacName = getBasepac().getName();
        return BasePacType.PAC_SRV.equals(basepacName);
hsarback/src/de/hsadmin/remote/RoleRemote.java
@@ -34,11 +34,7 @@
                role = "HOSTMASTER";
            }
            if (user.equals(pacName)) {
                if (pac.isDynamic()) {
                    role = "PAC_ADMIN_DW";
                } else {
                    role = "PAC_ADMIN_SW";
                }
                role = "PAC_ADMIN_DW";
            }
            if (role.equals("USER")) {
                GenericModuleImpl module = new GenericModuleImpl(transaction);