Skip to content

Commit

Permalink
Issue #3015 user notifications permissions check
Browse files Browse the repository at this point in the history
  • Loading branch information
mzueva committed Feb 22, 2023
1 parent 3f50516 commit b4d56b1
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ public boolean hasPermission(final Long notificationId) {
if (userNotification == null) {
return false;
}
return hasPermission(userNotification);
return hasPermissionByUserId(userNotification.getUserId());
}

public boolean hasPermissionByUserId(final Long userId) {
Expand Down

0 comments on commit b4d56b1

Please sign in to comment.