This commit is contained in:
Massimiliano Assante 2018-06-21 14:57:22 +00:00
parent 08a47c498d
commit 90c34bb49a
1 changed files with 2 additions and 2 deletions

View File

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