You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ranger.apache.org by "Madhan Neethiraj (Jira)" <ji...@apache.org> on 2022/02/03 20:09:00 UTC

[jira] [Updated] (RANGER-3605) Support macros in row-filter/condition expressions

     [ https://issues.apache.org/jira/browse/RANGER-3605?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Madhan Neethiraj updated RANGER-3605:
-------------------------------------
    Description: 
Enhancements in RANGER-3550, RANGER-3567, RANGER-3586 enable use of user/group/tag attributes in row-filter/condition expressions. To make it easier to refer to these attributes, it will help to be able to use macros instead of method calls, as shown below:

{{site in ( ${\{GET_UG_ATTR_CSV('site')}}}} )

instead of

{{site in ( ${\{ctx.ugAttrCsv('dept')}}}} )

  was:
Enhancements in RANGER-3550, RANGER-3567, RANGER-3586 enable use of user/group/tag attributes in row-filter/condition expressions. To make it easier to refer to these attributes, it will help to be able to use macros instead of method calls, as shown below:

{{site in ( ${\{GET_UG_ATTR_CSV('site')}} )}}

instead of

{{site in ( ${\{ctx.ugAttrCsv('dept')}} )}}


> Support macros in row-filter/condition expressions
> --------------------------------------------------
>
>                 Key: RANGER-3605
>                 URL: https://issues.apache.org/jira/browse/RANGER-3605
>             Project: Ranger
>          Issue Type: Improvement
>          Components: plugins
>            Reporter: Madhan Neethiraj
>            Assignee: Madhan Neethiraj
>            Priority: Major
>
> Enhancements in RANGER-3550, RANGER-3567, RANGER-3586 enable use of user/group/tag attributes in row-filter/condition expressions. To make it easier to refer to these attributes, it will help to be able to use macros instead of method calls, as shown below:
> {{site in ( ${\{GET_UG_ATTR_CSV('site')}}}} )
> instead of
> {{site in ( ${\{ctx.ugAttrCsv('dept')}}}} )



--
This message was sent by Atlassian Jira
(v8.20.1#820001)