[
https://issues.apache.org/jira/browse/RANGER-5529?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Madhan Neethiraj resolved RANGER-5529.
--------------------------------------
Fix Version/s: 2.81
3.0.0
2.9.0
Resolution: Fixed
- master branch:
[https://github.com/apache/ranger/commit/63d5aab1a95cead4ff4f07333aad04f4dce1ae47]
- ranger-2.9 branch:
[https://github.com/apache/ranger/commit/3466377aa3803c2159a5a5e25a748c7e343da301]
- ranger-2.8 branch:
[https://github.com/apache/ranger/commit/b7598934e0d2dafb009d098ba9e52b1fe36b7264]
> update RangerAuthorizer methods to be REST friendly
> ---------------------------------------------------
>
> Key: RANGER-5529
> URL: https://issues.apache.org/jira/browse/RANGER-5529
> Project: Ranger
> Issue Type: Improvement
> Components: authz-api
> Affects Versions: 3.0.0, 2.8.0
> Reporter: Madhan Neethiraj
> Assignee: Madhan Neethiraj
> Priority: Major
> Fix For: 2.81, 3.0.0, 2.9.0
>
> Time Spent: 0.5h
> Remaining Estimate: 0h
>
> {{RangerAuthorizer}} introduced in 2.8.0 release (RANGER-5309) includes
> abstract methods to evaluate authorization requests and get permissions on a
> given resource. The purpose of this class is to isolate callers (mostly
> plugins) from where the policy evaluations are performed - in the same
> process or in a remote server. Keeping the parameters and responses to
> methods REST friendly can help avoid unncessary wrappers in REST client and
> server implementations. Specifically,
> {{getResourcePermissions(RangerResourceInfo resource, RangerAccessContext
> context)}} should be updated to use a single parameter, to make it {{POST}}
> friendly.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)