[ https://issues.apache.org/jira/browse/RANGER-3508?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17444278#comment-17444278 ]
Madhan Neethiraj commented on RANGER-3508: ------------------------------------------ {noformat} commit a0363eaba9f708088fd0a83f5c89bda5bec58b3c Author: Madhan Neethiraj <mad...@apache.org> Date: Thu Nov 11 13:20:35 2021 -0800 RANGER-3508: enhanced script condition expression for easier access to user/group/tag/resource attributes {noformat} > 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 > > > User/group/tags/resource attributes should be easily accessible in condition > expressions, with expressions like: > {noformat} > USER.state == 'CA' > UGROUP['test'].dept == 'MKTG' > REQ.accessType == 'SELECT' > RES.database == 'hr' > RES.table == 'employee' > TAG._type == 'PII' > TAG.attr1 == 'value1' > TAGS.length == 2 > TNAMES.indexOf('PCI') != -1{noformat} > -- This message was sent by Atlassian Jira (v8.20.1#820001)