diff --git a/src/main/java/com/nike/cerberus/service/UserGroupPermissionService.java b/src/main/java/com/nike/cerberus/service/UserGroupPermissionService.java index 32ff06085..d313df97e 100644 --- a/src/main/java/com/nike/cerberus/service/UserGroupPermissionService.java +++ b/src/main/java/com/nike/cerberus/service/UserGroupPermissionService.java @@ -170,8 +170,8 @@ public void updateUserGroupPermission(final String safeDepositBoxId, record.setSdboxId(safeDepositBoxId); record.setUserGroupId(possibleUserGroupRecord.get().getId()); record.setRoleId(userGroupPermission.getRoleId()); - record.setLastUpdatedBy(userGroupPermission.getLastUpdatedBy()); - record.setLastUpdatedTs(userGroupPermission.getLastUpdatedTs()); + record.setLastUpdatedBy(user); + record.setLastUpdatedTs(dateTime); userGroupDao.updateUserGroupPermission(record); }