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

Madhan Neethiraj updated RANGER-3586:
-------------------------------------
    Description: 
One of the common row-filter requirement is to enable users access to records 
with a column having one of a set of values - for example:
{code:java}
projectId in (10, 15){code}
where _projectId_ could be an attribute associated with groups the user belongs 
to, or attribute of tags associated with the resource being accessed.

To enable above, expressions that return comma-separated-value of group/tag 
attributes should be supported - for example: 
{code:java}
projctId in (${{ctx.ugAttrCsv('projectId')}}){code}
 

  was:
One of the common row-filter requirement is to enable users access to records 
with a column having one of a set of values - for example:
{code:java}
projectId in (10, 15){code}
where _projectId_ could be an attribute associated with groups the user belongs 
to, or attribute of tags associated with the resource being accessed.

To enable above, expressions that return comma-separated-value of group/tag 
attributes should be supported - for example: 
{code:java}
projctId in ${{ctx.ugAttrCsv('projectId')}}{code}


> Script condition expression to support csv of group/tag attributes
> ------------------------------------------------------------------
>
>                 Key: RANGER-3586
>                 URL: https://issues.apache.org/jira/browse/RANGER-3586
>             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-3586.patch
>
>
> One of the common row-filter requirement is to enable users access to records 
> with a column having one of a set of values - for example:
> {code:java}
> projectId in (10, 15){code}
> where _projectId_ could be an attribute associated with groups the user 
> belongs to, or attribute of tags associated with the resource being accessed.
> To enable above, expressions that return comma-separated-value of group/tag 
> attributes should be supported - for example: 
> {code:java}
> projctId in (${{ctx.ugAttrCsv('projectId')}}){code}
>  



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

Reply via email to