[ https://issues.apache.org/jira/browse/RANGER-5214?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Vikas Kumar resolved RANGER-5214. --------------------------------- Fix Version/s: 3.0.0 Resolution: Fixed PR : [https://github.com/apache/ranger/pull/579] has been reviewed and merged. hence Resolving the JIRA. Thanks [~dhavalshah9131] for the review. > KMS is throwing IOException instead of AccessControlException > -------------------------------------------------------------- > > Key: RANGER-5214 > URL: https://issues.apache.org/jira/browse/RANGER-5214 > Project: Ranger > Issue Type: Bug > Components: kms > Reporter: Vikas Kumar > Assignee: Vikas Kumar > Priority: Major > Fix For: 3.0.0 > > Time Spent: 20m > Remaining Estimate: 0h > > assertAccess() method throws AccessControlException if access assertion fails > . But during implementation of Metrics best practices this regression got > introduced. > Now this AccessControlException is getting wrapped inside IOException and > hence returning the wrong HTTP Response code. > Following API methods got affected: > generateDataKey() > generateEncryptedKeys > > II will be raising the PR soon. > -- This message was sent by Atlassian Jira (v8.20.10#820010)