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

Madhan Neethiraj updated RANGER-5822:
-------------------------------------
    Fix Version/s: 2.10

> application supplied context attributes should be accessible in expressions
> ---------------------------------------------------------------------------
>
>                 Key: RANGER-5822
>                 URL: https://issues.apache.org/jira/browse/RANGER-5822
>             Project: Ranger
>          Issue Type: New Feature
>          Components: plugins
>            Reporter: Madhan Neethiraj
>            Assignee: Madhan Neethiraj
>            Priority: Major
>             Fix For: 3.0.0, 2.10
>
>          Time Spent: 1h
>  Remaining Estimate: 0h
>
> Ranger policy engine makes several evaluation context attributes available in 
> expressions, like `REQ.accessType`, `RES._ownerUser` `RES.database`, 
> `RES.table`. This should be extended to make attributes supplied by the 
> application (like trx_amount, approval_status), so that policies can refer to 
> these attributes in making decisions. For example:
>  
> {noformat}
>  ATTR.trx_amount > 10000 && ATTR.approval_status != 'approved'{noformat}
>  



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

Reply via email to