Guide overview
Create a DP01 household product variant, select Restricted Users and configure user-specific value filters on household_id in Fine-Grained Access. Validate the business preview, then verify saved settings and consumer row results before sharing.
What you will learn
- Create a separate DP01 variant using the household relationship contract.
- Find judo_household_membership.household_id in Fine-Grained Access and select an approved restricted test user.
- Configure user-specific value filtering and review the operator and household values against an approved access policy.
- Validate the business preview, then verify persisted settings, permitted and excluded household rows, and household aggregates through the intended consumer path before sharing.
Before you start
Browser practice: No account or setup required. Practise with genuine app captures and simulated row-filter configuration in this browser. Practice does not change live access settings.
Follow along in Latttice: A signed-in Latttice session with access to Databricks Demo and its latttice_demo schema, permission to create a data product and configure row filters, an approved household entitlement policy, and restricted and eligible comparison test users. Use a unique DP01 variant name.
Read the 15-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.
Start with the household outcome.
Create an FGA row 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 - FGA Row Demo.
- Use a unique name to preserve the original DP01 reference.
Check: Synthetic household relationships · fixed 9 October 2026 snapshot.
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.
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.
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.
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.
Configure an explicit row filter.
In Define Access & Transformations, open Fine-Grained Access. This panel contains column access and value-based filtering. Use the row/value workflow for this lesson.
- In Define Access & Transformations, select Fine-Grained Access.
- Review the Fine-Grained Access Controls panel.
- Use value-based filtering to configure this row-level example.
Check: Row filtering is configured explicitly; banker and portfolio values grant no access.
Filter complete households before aggregation.
Locate judo_household_membership → household_id. A household-level key keeps the intended set of household members together; filtering by member role or party type could change DP01’s aggregates.
- Find judo_household_membership.
- Locate household_id and its access controls.
- Use the household key; preserve every member of a permitted household.
Check: A member-level filter can produce incomplete household counts and names.
Tie the filter to the intended identity.
Under household_id → User Access, open Restricted Users → Select user. Select the approved demo identity and confirm its chip before setting the row/value mode.
- Under household_id → User Access, open Restricted Users → Select user.
- Choose the approved row-filter demo identity.
- Check the selected chip before entering filter settings.
Check: The selected identity is the subject of this example; confirm it deliberately.
Leave the household key available.
In Access Control Options, leave Block total access to this column for selected users unchecked. Its unchecked helper describes restricted access based on value-based filtering below.
- Find Access Control Options for the selected user.
- Leave Block total access to this column for selected users unchecked.
- Continue to User-Specific Value Filters below.
Check: This lesson uses row/value filtering, not the total column-blocking mode.
Make the intended household scope explicit.
In Value-Based Filtering → User-Specific Value Filters, select IN for the approved demo identity. The intended scope is HH000001 included and HH000002 excluded for that identity; verify in its own consumer context.
- Find the selected identity under User-Specific Value Filters.
- Open Operator and select IN.
- Use the agreed household scope; verify actual results after saving.
Check: Intended test: HH000001 included, HH000002 excluded. Actual consumer behavior must be checked.
Commit the exact household value.
Under Add Value, enter HH000001 and press +. Review Pending Values (not yet committed), then select Commit Changes. After commit, check Current Filter Values: HH000001.
- In Add Value → Enter filter value, enter HH000001 and press +.
- Review HH000001 under Pending Values (not yet committed).
- Select Commit Changes; check Current Filter Values: HH000001.
Check: After commit: 1 values badge and Current Filter Values: HH000001.
Check the query in the correct context.
FGA View reflects the current signed-in viewer. The reference’s viewer was also the filter subject, so its query includes HH000001. Obtain a successful eligible-context business preview before creation; test the configured user after saving.
- FGA View is viewer-specific: expect the HH000001 predicate only as the configured identity.
- Open Preview Data → Load Preview; check the business contract under the current viewer’s scope.
- Resolve preview errors before Create; test the saved configured user’s rows before sharing.
Check: An owner’s FGA View does not display a different configured user’s query.
Review the product and filter before creation.
Continue to Preview & Finalize. Review the unique row FGA variant, DP01 contract, intended identity, unchecked total column block and exact filter settings before Create Data Product.
- Select Next: Preview & Finalize.
- Review the unique variant, 12 outputs, selected identity and exact row-filter settings.
- Select Create Data Product and wait for a successful save.
Check: Preserve the original DP01 and the separate ABAC and column-FGA examples.
Test inclusion and exclusion after saving.
As owner, reopen the saved variant and check the identity, mode, operator and values persisted. Separately, use the configured identity’s own consumer context to test its household rows and complete calculations.
- As owner, reopen PinBoard → Edit and check saved identity, mode, operator and values.
- FGA View is current-viewer-specific; inspect the subject’s query only in its own context, where available.
- Test configured and eligible comparison identities in their own consumer sessions.
Check: Owner persistence review and the configured user’s consumer access are separate checks.
A clear product. Reviewed household access.
You have practised building a DP01 variant, selecting a filter subject and configuring household-based row controls. Verify saved settings, actual permitted and excluded rows, and complete household calculations in Latttice.
- Keep the checklist for your own DP01 row FGA variant.
- Verify saved settings and actual consumer row scope in Latttice.
- Return to the library for the next lesson.
Check: Practice changes no live product, group membership or access setting.
