You are here:
Create a Record-Level Policy in Data 360
Define who can access specific records within an object based on user and data attributes.
Required Editions
Before completing this task, review these considerations.
- When you create an record-level security policy (RLS) on a DMO or calculated insight object, the policy applies only to the data space where the object is available. This is because the API name includes the data space prefix, and policies are authored based on this API name.
- If an RLS with Join policy uses a masked field as the join key, the join operates on the masked value, which can lead to inaccurate results. Avoid using masked fields in RLS with Join queries.
- Unmask primary key and foreign key fields to maintain accurate object relationships and effective data joins.
- RLS policies aren’t enforced when creating segments and calculated insights because these operations run in system context.
- Currently, the RLS policy filters records only for users who meet the policy criteria. Other users see all records because the default Day 0 Allow All object-level security (OLS) policy remains in effect. In an upcoming change, any RLS permit policy disables the Day 0 Allow All policy. Users who don’t meet the RLS criteria lose access to all records governed by the RLS policy. For example, if an RLS policy grants access only to US Opportunity records, users without the required permission no longer see any Opportunity records after this change.
- Hierarchy data is synchronized periodically. It can take up to 15 minutes for changes in the source system to be reflected in Data 360.
| Available in: All Editions supported by Data 360. See Data 360 edition availability. |
| User Permissions Needed | |
|---|---|
| To create a data access policy: | Permission set:
|
- In Data 360, go to the Data Governance tab.
- In the left pane, click Policies.
- Click New, select Data Access, and click Next.
-
In Policy Builder, enter a unique policy name, and an optional description.
The policy API name is auto-filled based on your policy name, but you can change it.
- Click Next.
-
Select Rules, and select the resources to protect. In the
Resource dropdown, select Record.
By default, the rule applies across all data spaces. As new data spaces are added, these rules apply to their resources.
- To restrict policies to specific data space scopes, click Customize Scope, deselect Apply to the resources in all Data Spaces in Data Cloud, and select the desired data spaces.
- Click Save.
- Select the action you want to take on the resource. From the Action dropdown, select Allow access or Deny access.
-
Define the conditions when this action must take place. For example, allow access when
Account.Country equals United States. Or, allow
access when Opportunity.OwnerId equals
$User.Id.
You can trigger the rule when objects meet any or all specified conditions.
-
To add a hierarchy-based rule, use the Hierarchy operator (Is Hierarchically Above In) and
select the appropriate hierarchy, such as a manager, role, or territory hierarchy, to grant
access. For example, allow a manager to view records owned by their team, while team members
can view only their own records. Or, users assigned to the North America territory can access
records across all regions within North America, including the United States, Canada, and
Mexico.
You must successfully ingest a hierarchy for it to appear as an option in the operator. To ingest hierarchical data, see Ingest Hierarchical Data.
-
To add more conditions, click Add Condition.
You can add up to five conditions to a record-level security (RLS) policy.
- Group your conditions into different sets and use the OR operator to act when any group meets the rule conditions.
- To add a group, click Add Group.
- Click Add Join Block to add a custom join block. Custom joins allow access rules to reference external mapping or lockup tables and enable dynamic and context-aware access conditions.
- Select the objects and fields to be referenced by the rule.
-
To add more join sections, click Add Join. You can add up to three
joins.
To remove a join, click the delete button. If there are dependencies in the join, remove them before deleting a join.
- To add filters and criteria for the join block, click Add Filter.
-
To apply the policy to users, select Users.
Apply the policy to all users or to users who meet specific AND and OR conditions. The conditions are based on custom permissions assigned to users.
Actions that explicitly deny access override other permissions to block the user from performing that action.
- Click Save and Activate.
Did this article solve your issue?
Let us know so we can improve!

