git-svn-id: http://svn.research-infrastructures.eu/public/d4science/gcube/trunk/portal/sbd-uploadshare-portlet@169389 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
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…
Reference in New Issue