Describe the bug message of AccessDeniedException is not localized
in the class ObservationAuthorizationManager it uses hard coded message "Access Denied" to construct a new AccessDeniedException instance instead of using getMessage("AbstractAccessDecisionManager.accessDenied", "Access is denied")
To Reproduce
Expected behavior
Sample
Comment From: sjohnr
@maimate-dev thanks for the report! Would you be interested in submitting a PR?
Note: I have changed the issue type to enhancement since I'm not sure this constitutes a bug and would probably also require a new setMessageSource method.
Comment From: maimate-dev
@sjohnr I can try. can you assign to me ? thanks. by the way I got 403 error while trying to push, any thing I am missing? I followed the link here https://github.com/spring-projects/spring-security/blob/main/CONTRIBUTING.adoc#submit-a-pull-request
Comment From: sjohnr
@maimate-dev great, it's assigned to you! You will need to fork the repo and push to your own fork to submit a pull request. Does that help?