Uploaded image for project: 'Ranger'
  1. Ranger
  2. RANGER-3865

support for using user attributes in masking expressions

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 3.0.0, 2.4.0
    • plugins
    • None

    Description

      RANGER-3550 introduced support for referencing user attributes in row-filter expressions.

      Extending use of user attributes in masking expressions can help address more use cases, including the following:

      Restrict users to see email address of customers in user's country only; email address of other customers must be masked:

      CASE WHEN country = '${{USER.country}}' THEN {col} ELSE mask({col}) END

      Attachments

        1. RANGER-3865.patch
          14 kB
          Madhan Neethiraj

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: