Massimiliano Assante 6 years ago
parent 08a47c498d
commit 90c34bb49a

@ -102,10 +102,10 @@ public class RequestVRE extends MVCPortlet {
if (theManagers == null || theManagers.isEmpty()) {
try {
infraManagerRoleId = roleManager.getRoleIdByName(GatewayRolesNames.INFRASTRUCTURE_MANAGER.getRoleName());
infraManagerRoleId = roleManager.getRoleIdByName("Administrator");
}
catch (RoleRetrievalFault e) {
_log.warn("There is no (Site) Role " + infraManagerRoleId + " in this portal. Will not notify about removed user accounts.");
_log.warn("There is no (Site) Role " + infraManagerRoleId + " in this portal. Will not notify about this vre request");
return;
}
theManagers = userManager.listUsersByGlobalRole(infraManagerRoleId);

Loading…
Cancel
Save