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 2022/01/02 21:48:00 UTC
[jira] [Created] (RANGER-3567) support for using user attributes in policy resources
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)