You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ranger.apache.org by "Ramesh Mani (Jira)" <ji...@apache.org> on 2023/05/16 18:35:00 UTC

[jira] [Commented] (RANGER-4165) API to find whether a user/group is authorized to the given operation on any resource of give type

    [ https://issues.apache.org/jira/browse/RANGER-4165?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17723252#comment-17723252 ] 

Ramesh Mani commented on RANGER-4165:
-------------------------------------

Attached reworked Patch from [~madhan] 

[https://reviews.apache.org/r/74441/diff/1#index_header]

[~abhayk]  Please review this patch. Thanks.

 

> API to find whether a user/group is authorized to the given operation on any resource of give type
> --------------------------------------------------------------------------------------------------
>
>                 Key: RANGER-4165
>                 URL: https://issues.apache.org/jira/browse/RANGER-4165
>             Project: Ranger
>          Issue Type: Improvement
>          Components: Ranger
>    Affects Versions: 3.0.0
>            Reporter: Ramesh Mani
>            Assignee: Ramesh Mani
>            Priority: Major
>
> API to find whether a user/group is authorized to the given operation on any resource of give type.
> This is needed to implement a Ranger Kafka authorizer API which checks if the caller is authorized to perform the given ACL operation on at least one resource of the given type.
> [https://kafka.apache.org/28/javadoc/org/apache/kafka/server/authorizer/Authorizer.html#authorizeByResourceType(org.apache.kafka.server.authorizer.AuthorizableRequestContext,org.apache.kafka.common.acl.AclOperation,org.apache.kafka.common.resource.ResourceType])



--
This message was sent by Atlassian Jira
(v8.20.10#820010)