fixing code

This commit is contained in:
Francesco Mangiacrapa 2021-11-26 16:59:45 +01:00
parent ced697f140
commit 2de36fd513
1 changed files with 1 additions and 1 deletions

View File

@ -917,7 +917,7 @@ public class GeoportalDataEntryServiceImpl extends RemoteServiceServlet implemen
break;
}
}
UserRights userRights = new UserRights(scope, toRoleRight);
UserRights userRights = new UserRights(user.getUsername(), toRoleRight);
LOG.info("returning: " + userRights);
return userRights;
} catch (UserRetrievalFault | GroupRetrievalFault | GNAUserRightsConfigException e) {