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 2023/02/17 00:08:00 UTC

[jira] [Updated] (RANGER-3508) Enable easier access to user/group/tag/resource attributes in condition expressions

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

Madhan Neethiraj updated RANGER-3508:
-------------------------------------
    Fix Version/s: 2.3.0

> Enable easier access to user/group/tag/resource attributes in condition expressions
> -----------------------------------------------------------------------------------
>
>                 Key: RANGER-3508
>                 URL: https://issues.apache.org/jira/browse/RANGER-3508
>             Project: Ranger
>          Issue Type: Improvement
>          Components: plugins
>            Reporter: Madhan Neethiraj
>            Assignee: Madhan Neethiraj
>            Priority: Major
>             Fix For: 3.0.0, 2.3.0
>
>
> User/group/tags/resource attributes should be easily accessible in condition expressions, with expressions like:
> {noformat}
> USER.state == 'CA'
> UG['test'].dept == 'MKTG'
> REQ.accessType == 'SELECT'
> RES.database == 'hr'
> RES.table == 'employee'
> TAG._type == 'PII'
> TAG.attr1 == 'value1'
> TAGS.PII.attr1 == 'value1'
> TNAMES.length == 2
> TNAMES.indexOf('PCI') != -1{noformat}
>  



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