You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@fineract.apache.org by am...@apache.org on 2026/10/17 10:27:38 UTC

(fineract-loan-origination) 01/01: Merge pull request #172 from priyam99/fix/159-return-403-for-authorization-failures-v2

This is an automated email from the ASF dual-hosted git repository.

Aman-Mittal pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/fineract-loan-origination.git

commit 8bc93c42e98ff0f6edbaa323701d6eced70e7044
Merge: c4015fc af907e0
Author: Aman Mittal <32...@users.noreply.github.com>
AuthorDate: Sat Oct 17 15:57:30 2026 +0530

    Merge pull request #172 from priyam99/fix/159-return-403-for-authorization-failures-v2
    
    Return HTTP 403 instead of 500 for authorization failures

 .../los/exception/GlobalExceptionHandler.java      |  11 +
 .../fineract/los/exception/LosErrorConstants.java  |   4 +
 .../los/api/MethodSecurityAuthorizationTest.java   | 229 +++++++++++++++++++++
 .../los/cucumber/steps/CustomerAuthSteps.java      |  19 ++
 .../los/exception/GlobalExceptionHandlerTest.java  |  28 +++
 .../features/staff-endpoint-authorization.feature  |  35 ++++
 6 files changed, 326 insertions(+)