latttice Learning library
ABAC01DP01 with ABAC Controls
Open Latttice
INTERACTIVE STEP-BY-STEP GUIDE

Create a Structured Data Product with ABAC Controls

Build the DP01 household relationship product, validate its business contract, then configure and review attribute-based access controls.

—action checkpoints
12 minat your pace
DP01household relationships
Guided steps · about 12 minutes

Captions point to each control. The yellow action button stays in view.

Practise with the existing synthetic DP01 example, or follow along in your signed-in Latttice session. Access settings in practice change only learning progress in this browser.

Review the original DP01 foundation 800 reference households · 12 output fields

BUILD AND GOVERN A PRODUCT ABAC01
Build DP01→Set controls→Review
Structured data product workflow in Latttice
✓
A clear contract. Explicit access controls.Guided captions · synthetic DP01 example.
STRUCTURED DATA PRODUCT DP01 + ABAC
LEARN BY DOING

Define the product. Check the engineering. Review access controls.

Guide overview

Create a DP01 household product variant, review its design and apply a source-column text mask in ABAC Controls. Check both derived name outputs before finalizing and verifying your product.

Beginner · About 12 minutes · 13 guided steps

What you will learn

  • Create a separate DP01 variant using the household relationship contract.
  • Find the source display_name column in ABAC Controls and apply Simple Mask Text Fields.
  • Check that both primary business and key contact names are masked in the preview.
  • Review finalization and verify the saved product and its controls in Latttice.

Before you start

Browser practice: No account or setup required. Practise with genuine app captures and on-screen captions in this browser.

Follow along in Latttice: A signed-in Latttice session with access to Databricks Demo and its latttice_demo schema, plus permission to create a data product and configure its governance controls. Use a unique DP01 variant name.

Read the 13-step workflow

This written reference follows the same example as the interactive tour. Practice records progress in your browser; complete and verify live actions in your authorised Latttice workspace.

  1. Start with the household outcome.

    Create an ABAC learning variant of the existing DP01 household relationship foundation. Keep the same fixed snapshot, household grain and twelve outputs.

    • Open PinBoard → Create Structured Data Product.
    • Name the variant DP01 | Household Relationships - ABAC Demo.
    • Use a unique name to preserve the original DP01 reference.

    Check: Synthetic household relationships · fixed 9 October 2026 snapshot.

  2. Generate from a precise request.

    State the source, snapshot, join keys, household grain and calculations. Access controls are reviewed separately from the business relationship fields.

    • Paste the prepared request into Intent / Use Case.
    • Confirm Databricks Demo, latttice_demo and 2026-10-09.
    • Select Generate and review the recommendation.

    Check: Membership and banker ownership describe relationships; they grant no access.

  3. Check the tables and their meaning.

    DP01 combines household membership with customer party details. Review the current semantic coverage, gaps and direct source meaning before accepting the recommendations.

    • Confirm household membership and customer party.
    • Check relevant semantic definitions, table coverage and gaps.
    • Select Accept Latttice AI Recommendations after review.

    Check: Reported coverage does not verify business meaning. Review mappings and gaps.

  4. Keep both sides on the same date.

    Each membership must match its party in the same snapshot. The output rolls up to one household at one reporting date.

    • Confirm the tables and columns; select Next: Configure Access.
    • In Define Access & Transformations, open SQL.
    • Check both join keys, 2026-10-09 and the household snapshot grain.

    Check: Join: party_id + as_of_date. Grain: household_id + as_of_date.

  5. Make the business calculations clear.

    DP01 contains two keys and ten computed fields. Entities include BUSINESS and TRUST parties; a KYC review due on the snapshot is not overdue.

    • Open Tables & Columns.
    • Review the two keys and ten computed fields.
    • Count KYC only when its due date is before 2026-10-09.

    Check: 12 fields. A KYC review due on the snapshot is not overdue.

  6. Configure the column access rule.

    In Define Access & Transformations, ABAC Controls lists selected source columns by table. This example applies a constant text mask to the party display_name source column.

    • In Define Access & Transformations, select ABAC Controls.
    • Review the Attribute-Based Access Controls panel.
    • Find the selected customer party source columns.

    Check: Configure the source column explicitly. Banker and portfolio fields grant no access.

  7. Use the name’s source column.

    Find display_name in the customer party source table and select Add Rule on that row. In DP01, that source supplies both the primary business and key contact names.

    • Find display_name under customer party.
    • Select Add Rule on the display_name row.
    • Review both downstream DP01 name outputs.

    Check: display_name supplies primary_business_name and key_contact_name.

  8. Select the constant text mask.

    Choose data governance for Category, then Simple Mask Text Fields with '*' for Select Rule. The observed template starts applying when selected.

    • In Category, choose data governance.
    • In Select Rule, choose Simple Mask Text Fields with '*'.
    • Wait while the selected rule is applying.

    Check: A constant text mask. This example has no role or row condition.

  9. Confirm the rule finished applying.

    Wait for Applying to change to Applied. Confirm the selected template remains on display_name and the app reports 1 ABAC Rule Applied before validating the data.

    • Wait for Applying to change to Applied.
    • Confirm the template is attached to display_name.
    • Check the 1 ABAC Rule Applied indicator.

    Check: The indicator confirms rule application; the preview checks its data effect next.

  10. Verify the mask in the actual data.

    Open Preview Data and Load Preview. Verify both masked name outputs, all twelve expected output names and the household snapshot and counts before finalizing.

    • Open Preview Data → Load Preview; wait for the result.
    • Confirm both computed name outputs display '*'.
    • Recheck all 12 output names, the snapshot and business counts.

    Check: Check all 12 expected output names, including household_name, after masking.

  11. Review the contract, then create.

    Continue to Preview & Finalize. Review the unique ABAC variant, all twelve expected output names, snapshot, counts and mask rule before selecting Create Data Product.

    • Select Next: Preview & Finalize.
    • Verify all 12 output names, including household_name.
    • Select Create Data Product; wait for the successful save.

    Check: Create a separate ABAC variant. Keep the original DP01 reference unchanged.

  12. Verify the saved rule and result.

    On PinBoard, reopen your saved ABAC variant with Edit (pencil). Check the rule persisted and reload its preview. Test intended user access separately if your requirements include user or row restrictions.

    • On PinBoard, select the saved variant’s Edit (pencil).
    • Continue Manually → tables / columns → Next: Configure Access.
    • Check ABAC Controls and reload Preview Data.

    Check: Verify your saved variant’s rule, output contract and intended access in Latttice.

  13. A defined product. An explicit mask.

    You have practised creating a DP01 variant, applying the column mask and checking the result. The captured preview masked both computed names. Save and verify your own product in Latttice.

    • Keep the checklist for your own DP01 ABAC variant.
    • Verify the saved rule and result in Latttice.
    • Return to the library to continue learning.

    Check: Practice creates no live product and changes no access settings.

Explore all Latttice guides →

Illustrative captures · browser-local practice

latttice.app / create data product
DO THIS STEP

What to do

    CHECK

    Enlarged application capture