priyam99 commented on code in PR #170:
URL: 
https://github.com/apache/fineract-loan-origination/pull/170#discussion_r4266101754


##########
src/main/java/org/apache/fineract/los/api/CustomerLoanApplicationController.java:
##########
@@ -157,7 +157,10 @@ private void assertOwnedByCaller(
 
     final Long ownerClientId = 
loanApplicationService.getFineractClientIdOrThrow(application);
     if (!ownerClientId.equals(principal.getClientId())) {
-      throw new AccessDeniedException("Application does not belong to this 
customer");

Review Comment:
   Thanks! I kept it to this one check so #159 can handle the 403 case 
separately. I'm planning to pick up #159 next.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to