Loading
Sales Basics
目录
选择筛选器

          没有结果
          没有结果
          以下是一些搜索提示

          检查关键字的拼写。
          使用更普遍的搜索词。
          选择更少的筛选器,并扩大搜索范围。

          搜索所有 Salesforce 帮助
          Row-Level Security Example Based on Record Ownership

          Row-Level Security Example Based on Record Ownership

          This policy ensures that a user can only view records (for example, Opportunities) that they’re explicitly designated as the owner of.

          Required Editions

          Available in: Lightning Experience
          Available with Sales with Agentforce 1 Edition or Agentforce for Sales Add-On license in: Enterprise, Performance, and Unlimited Editions.
          User Permissions Needed
          To manage Data 360: Data Cloud Architect
          To manage Sales Insights: Sales Insights User permission set
          To use Sales Insights: Tableau Next Limited Consumer
          1. Determine which data DMO to include in the policy. The policy must be applied to the primary DMO that contains the record ownership field.
            DMO ssot__Opportunity__dlm
            Description The fact object containing sales opportunity details.
            Controlling Field (User Context) ssot__OwnerId__c (Record Owner ID)
          2. Add Policy/Author
            1. Navigate to the Data Governance tab in Data 360 and create a new Data Policy.
            2. Set the Resource to Record.
            3. Select the DMO: ssot__Opportunity__dlm.
            4. Set the Action to Deny. (This is often used to override the default "Allow All" policy, or you can use an Allow policy that explicitly filters.).
            5. Define the Condition (the security predicate):
            6. Set the rule to Deny access to the record unless the record's owner matches the logged-in user.
              • Condition Logic: ssot__Opportunity__dlm.ssot__OwnerId__c Is Not Equal To $User.ssot__Id__c
            Interpretation: If the opportunity owner ID doesn’t match the logged-in user's ID, deny access to that record.
           
          正在加载
          Salesforce Help | Article