This is an automated email from the ASF dual-hosted git repository.
Aman-Mittal pushed a change to branch main
in repository https://gitbox.apache.org/repos/asf/fineract-loan-origination.git
from c4015fc Merge pull request #168 from
apache/dependabot/maven/org.owasp.encoder-encoder-1.5.0
add 0db4596 Return HTTP 403 instead of 500 for authorization failures
add af907e0 Add end-to-end and extra role tests for authorization failures
new 8bc93c4 Merge pull request #172 from
priyam99/fix/159-return-403-for-authorization-failures-v2
The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails. The revisions
listed as "add" were already present in the repository and have only
been added to this reference.
Summary of changes:
.../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(+)
create mode 100644
src/test/java/org/apache/fineract/los/api/MethodSecurityAuthorizationTest.java
create mode 100644
src/test/resources/features/staff-endpoint-authorization.feature