Skip to content

Commit

Permalink
fix for IQSS#10324
Browse files Browse the repository at this point in the history
  • Loading branch information
qqmyers committed Feb 15, 2024
1 parent f456e51 commit fbaec85
Showing 1 changed file with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -422,7 +422,10 @@ public void grantAccess(ActionEvent evt) {
// set request(s) granted, if they exist
for (AuthenticatedUser au : roleAssigneeService.getExplicitUsers(roleAssignee)) {
FileAccessRequest far = file.getAccessRequestForAssignee(au);
far.setStateGranted();
//There may not be a request, so do the null check
if (far != null) {
far.setStateGranted();
}
}
datafileService.save(file);
}
Expand Down

0 comments on commit fbaec85

Please sign in to comment.