Madhan Neethiraj created RANGER-5529:
----------------------------------------

             Summary: 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: 2.8.0, 3.0.0
            Reporter: Madhan Neethiraj
            Assignee: Madhan Neethiraj


{{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)

Reply via email to