Created on 05-26-202007:24 AM - edited on 05-29-202003:39 AM by VidyaSargur
In this article, the requirement is to have simple tag names that will be applied to attributes in a Hive table.
Here, tags such as “Hashed” and “Masked” will be used in many tables. Different groups may need access to the data in the clear, while others will not be granted access. The opposite may apply for a different table.
Table name atlas_tag_test has the columns ssn that will be shown for hr_users and masked for power_users.
The value will be a comma-separated list of groups, in this case, we only have a single group.
Now in Ranger, we have a policy for masked.
For each group we are adding a condition, we check if power_users are set in the group's attribute like the following: