Hi Ramesh,

 

Thanks for your answer. The bottom of the article seems to be what I’m looking 
for.

 

Best, Jan

 

From: Ramesh Mani <[email protected]>
Reply-To: <[email protected]>
Date: Tuesday, March 14, 2017 at 12:22 AM
To: "[email protected]" <[email protected]>
Subject: Re: Regular expression in table field of Hive policy

 

Jan,

 

It does support the regular expression, you should be able to maintain policies 
with resource like “hq_*_1_4”  and give user permission to match  hq_test_1_4, 
hq_foo_1_4. Please try and let me know.

 

Also please check this out 
https://cwiki.apache.org/confluence/display/RANGER/Support+for+%24username+variable.

 

Thanks,

Ramesh

 

From: Jan Hentschel <[email protected]>
Reply-To: "[email protected]" <[email protected]>
Date: Monday, March 13, 2017 at 10:55 AM
To: "[email protected]" <[email protected]>
Subject: Regular expression in table field of Hive policy

 

Hi,

 

quick question: Does Ranger support regular expressions for the table field in 
a Hive policy? As an example, I have three tables: hq_test_1_4, hq_foo_1_4 and 
some_table. I would like to grant permissions on the first two via something 
like hq_*_1_4 instead of listing them all in the policy.

 

Best, Jan

 

Reply via email to