Uploaded image for project: 'Ranger'
  1. Ranger
  2. RANGER-3923 Dataset policies
  3. RANGER-4470

GDS data structure updates to capture masking order and sub-resource type

Agile BoardAttach filesAttach ScreenshotVotersWatch issueWatchersLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 3.0.0
    • Ranger
    • None

    Description

      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

      Attachments

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            madhan Madhan Neethiraj
            madhan Madhan Neethiraj
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment