Ranger administrators can use Ranger to configure the permission to manage databases, tables, and columns of data sources for HetuEngine users.
Parameter |
Description |
---|---|
Policy Name |
Policy name, which can be customized and must be unique in the service.
|
Policy Conditions |
IP address filtering policy, which can be customized. You can enter one or more IP addresses or IP address segments. The IP address can contain the wildcard character (*), for example, 192.168.1.10,192.168.1.20, or 192.168.1.*. |
Policy Label |
A label specified for the current policy. You can search for reports and filter policies based on labels. |
Presto Catalog |
Name of the data source catalog to which the policy applies. If this parameter is set to *, the policy applies to all catalogs.
|
Schema |
Name of the schema to which the policy applies. The value * indicates all schemas.
|
table |
Name of the table or view to which the policy applies. If this parameter is set to *, the policy applies to all tables.
|
Column |
Name of the column to which the policy applies. The value * indicates all columns. |
Description |
Policy description. |
Audit Logging |
Whether to audit the policy. |
Allow Conditions |
Policy allowed condition. You can configure permissions and exceptions allowed by the policy. In the Select Role, Select Group, and Select User columns, select the role, user group, or user to which you want to assign permissions. Click Add Conditions, add the IP address range to which the policy applies, and click Add Permissions to add corresponding permissions.
To add multiple permission control rules, click If users or user groups in the current condition need to manage this policy, select Delegate Admin. These users will become the agent administrators. The agent administrators can update and delete this policy and create sub-policies based on the original policy. |
Deny Conditions |
Policy rejection condition, which is used to configure the permissions and exceptions to be denied in the policy. The configuration method is the same as that of Allow Conditions. |
Task |
Role Authorization |
---|---|
Granting the access policy to the catalog where the table is located |
NOTE:
This policy is a basic policy. Before configuring other policies, ensure that this policy has been configured. |
Granting the permission to access the remote HetuEngine table |
NOTE:
This policy is a basic policy for remote HetuEngine tables. Before configuring other policies, ensure that this policy has been configured. |
Create schemas |
|
Drop schemas |
|
Create table |
|
Drop tables |
|
Alter tables |
NOTE:
ALTER TABLE table_name DROP [IF EXISTS] PARTITION partition_spec[, PARTITION partition_spec, ...]; requires the table-level delete and column-level select permissions. |
Show tables |
|
Insert tables |
|
Delete |
|
Select |
|
Show columns |
|
Set sessions |
|
To disable a policy, click to edit the policy and set the policy to Disabled.
If a policy is no longer used, click to delete it.
Ranger supports data masking for HetuEngine data. It can process the return result of the select operation performed by a user to mask sensitive information.
Parameter |
Description |
---|---|
Policy Name |
Policy name, which can be customized and must be unique in the service. |
Policy Conditions |
IP address filtering policy, which can be customized. You can enter one or more IP addresses or IP address segments. The IP address can contain the wildcard character (*), for example, 192.168.1.10,192.168.1.20, or 192.168.1.*. |
Policy Label |
A label specified for the current policy. You can search for reports and filter policies based on labels. |
Presto Catalog |
Name of the catalog to which the current policy applies. |
Presto Schema |
Name of the database to which the current policy applies. |
Presto Table |
Name of the table to which the current policy applies. |
Presto Column |
Name of the column to which the current policy applies. |
Description |
Policy description. |
Audit Logging |
Whether to audit the policy. |
Mask Conditions |
In the Select Role, Select Group, and Select User columns, select the object to which the permission is to be granted, click Add Conditions, add the IP address range to which the policy applies, then click Add Permissions, and select Select. Click Select Masking Option and select a data masking policy.
To add a multi-column masking policy, click |
Ranger allows you to filter data at the row level when you perform the select operation on a HetuEngine data table.
Parameter |
Description |
---|---|
Policy Name |
Policy name, which can be customized and must be unique in the service. |
Policy Conditions |
IP address filtering policy, which can be customized. You can enter one or more IP addresses or IP address segments. The IP address can contain the wildcard character (*), for example, 192.168.1.10,192.168.1.20, or 192.168.1.*. |
Policy Label |
A label specified for the current policy. You can search for reports and filter policies based on labels. |
Presto Catalog |
Name of the catalog to which the current policy applies. |
Presto Schema |
Name of the database to which the current policy applies. |
Presto Table |
Name of the table to which the current policy applies. |
Description |
Policy description. |
Audit Logging |
Whether to audit the policy. |
Row Filter Conditions |
In the Select Role, Select Group, and Select User columns, select the object to which the permission is to be granted, click Add Conditions, add the IP address range to which the policy applies, then click Add Permissions, and select Select. Click Row Level Filter and enter data filtering rules. For example, if you want to filter the data in the zhangsan row in the name column of table A, the filtering rule is name <>'zhangsan'. For more information, see the official Ranger document. To add more rules, click |