Created 09-16-2016 12:06 PM
Hi, I'm trying to implement auth rule in atlas by coping a rule from hdfs auth rules i.e RULE:[1:$1](4[0-9]{7,8})s/^4/d/
however this rule syntax doesn't seems to be working for atlas though same works for HDFS. Please help.
Created 09-16-2016 02:37 PM
@Jitendra Yadav Can you check your rule regex is as per the rules syntax? Check here: https://community.hortonworks.com/articles/14463/auth-to-local-rules-syntax.html
Created 09-16-2016 02:37 PM
@Jitendra Yadav Can you check your rule regex is as per the rules syntax? Check here: https://community.hortonworks.com/articles/14463/auth-to-local-rules-syntax.html
Created 09-20-2016 11:57 AM
Hi @Ayub Pathan I'm still not able to convert HDFS auth rule i.e RULE:[1:$1](4[0-9]{7,8})s/^4/d/ into atlas auth rule. Ideally same should work.
Created 09-21-2016 11:54 AM
Thanks @Ayub Pathan for the help, it worked with below syntax as per your suggestion.
RULE:[1:$1](4[0-9]*)s/^4/d/