Madhan Neethiraj created RANGER-3567:
----------------------------------------
Summary: support for using user attributes in policy resources
Key: RANGER-3567
URL: https://issues.apache.org/jira/browse/RANGER-3567
Project: Ranger
Issue Type: Improvement
Components: plugins
Reporter: Madhan Neethiraj
Assignee: Madhan Neethiraj
It will be useful to be able to specify policy resources using user attributes
- like
* path=/data/${\{USER.dept}}/*
** matches path /data/sales for users with attribute dept=sales
** matches path /data/mktg for user with attribute dept=mktg
* database=test_${\{USER.dept}}, table=${\{USER._name}}
** matches database _test_sales_ and table _scot_ for user scot with attribute
dept=sales
** matches database _test_mktg_ and table _emily_ for user emily with
attribute dept=mktg
--
This message was sent by Atlassian Jira
(v8.20.1#820001)