[
https://issues.apache.org/jira/browse/RANGER-3764?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17537714#comment-17537714
]
Madhan Neethiraj commented on RANGER-3764:
------------------------------------------
Thanks [~rmani]. Cherry-picked the commit into ranger-2.3 branch:
{noformat}
commit 4a2347e5205cf69b6cfbc9885e3fed63899e8ef5 (HEAD -> ranger-2.3,
origin/ranger-2.3)
Author: Madhan Neethiraj <[email protected]>
Date: Mon May 16 07:55:10 2022 -0700
RANGER-3764: conditions enhancement to support macros IS_IN_GROUP,
IS_IN_ROLE, HAS_TAG, HAS_USER_ATTR, HAS_UG_ATTR, HAS_TAG_ATTR
(cherry picked from commit 5ea34fea442848398d2f7e23d839708da1061c8e)
{noformat}
> conditions to support macros IS_IN_GROUP, IS_IN_ROLE, HAS_TAG
> -------------------------------------------------------------
>
> Key: RANGER-3764
> URL: https://issues.apache.org/jira/browse/RANGER-3764
> Project: Ranger
> Issue Type: Improvement
> Components: plugins
> Reporter: Madhan Neethiraj
> Assignee: Madhan Neethiraj
> Priority: Major
> Fix For: 3.0.0, 2.3.0
>
> Attachments: RANGER-3764.patch
>
>
> RANGER-3605 introduced support for a number of macros in condition
> expression. This should be extended to support following macros as well:
> * IS_IN_GROUP(groupName)
> * IS_IN_ROLE(roleName)
> * HAS_TAG(tagName)
> * HAS_USER_ATTR(attrName)
> * HAS_UG_ATTR(attrName)
> * HAS_TAG_ATTR(attrName)
>
--
This message was sent by Atlassian Jira
(v8.20.7#820007)