Madhan Neethiraj created RANGER-4470:
----------------------------------------
Summary: GDS data structure updates to capture masking order and
sub-resource type
Key: RANGER-4470
URL: https://issues.apache.org/jira/browse/RANGER-4470
Project: Ranger
Issue Type: Sub-task
Components: Ranger
Reporter: Madhan Neethiraj
RangerDataShare.defaultMasks captures the default mask to be applied for
columns based on tags. A column could have multiple tags and only one mask can
be applied, that mask applied should be deterministic. Instead of modeling
defaultMasks as a Map, using List will help the dataShare owner to specify the
order:
* replace {{Map<String, RangerPolicyItemDataMaskInfo> defaultMasks}} with
{{List<RangerTagDataMaskInfo> defaultTagMasks}}
RangerSharedResource.subResourceNames specifies the list of subResourceNames
(like columns) that are to be shared. However the type of the sub-resource is
not included. Given a service-def could have multiple child resource-types, it
will be critical to capture the sub-resource-type as well:
* replace subResourceNames with subResource and subResourceType
--
This message was sent by Atlassian Jira
(v8.20.10#820010)