fix dom.isDynamic
This commit is contained in:
parent
5028419aa3
commit
76ed538fdf
@ -25,6 +25,7 @@ import de.hsadmin.core.model.AbstractEntity;
|
||||
import de.hsadmin.core.model.AnnFieldIO;
|
||||
import de.hsadmin.core.model.AnnModuleImpl;
|
||||
import de.hsadmin.core.model.ReadWriteAccess;
|
||||
import de.hsadmin.mods.pac.Pac;
|
||||
import de.hsadmin.mods.user.UnixUser;
|
||||
|
||||
@Entity(name = "Domains")
|
||||
@ -182,7 +183,7 @@ public class Domain extends AbstractEntity {
|
||||
|
||||
public boolean isDynamic() {
|
||||
String basepacName = getUser().getPac().getBasepac().getName();
|
||||
return isPacDomain() || (basepacName == "PAC") || (basepacName == "DW/B");
|
||||
return isPacDomain() || (basepacName == Pac.PAC_DW) || (basepacName == Pac.PAC_WEB);
|
||||
}
|
||||
|
||||
public boolean isStatic() {
|
||||
|
Loading…
Reference in New Issue
Block a user