| | |
| | | } |
| | | } |
| | | |
| | | 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); |
| | |
| | | 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); |