[ https://issues.apache.org/jira/browse/RANGER-698?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15457130#comment-15457130
]
Balaji Ganesan commented on RANGER-698:
---------------------------------------
[~madhan.neethiraj] [~kulkabhay] Great work! Looks exciting..
I am joining the party late, have a basic question. Do we have a list of variables that are
supported by this functionality ? Can we as an example use current_date is chose the system
date in the conditions?
> Ranger policy should support variables like $user
> -------------------------------------------------
>
> Key: RANGER-698
> URL: https://issues.apache.org/jira/browse/RANGER-698
> Project: Ranger
> Issue Type: Improvement
> Affects Versions: 0.7.0
> Reporter: Don Bosco Durai
> Assignee: Abhay Kulkarni
> Fix For: 0.7.0
>
>
> It would be good to support variables in resources and users.
> E.g.
> HDFS Resource = /home/$user
> or
> Table Resource = ${user}_*
> Users allowed = $user
> Where $user will be expanded to the current user.
> I think, resource substitution will be easy. For permission, we can use key word like
we use for all users group="public". We can use key word like "USER" or something like that.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
|