remove static web pac
This commit is contained in:
parent
bf2b3535b9
commit
b83ca0d33f
@ -290,11 +290,6 @@ public class Pac extends AbstractEntity implements Serializable {
|
||||
}
|
||||
}
|
||||
|
||||
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);
|
||||
|
@ -34,11 +34,7 @@ public class RoleRemote implements IRemote {
|
||||
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);
|
||||
|
Loading…
Reference in New Issue
Block a user