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]<mailto:[email protected]>>
Reply-To: "[email protected]<mailto:[email protected]>" 
<[email protected]<mailto:[email protected]>>
Date: Monday, March 13, 2017 at 10:55 AM
To: "[email protected]<mailto:[email protected]>" 
<[email protected]<mailto:[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