官术网_书友最值得收藏!

Some considerations about sharing

There are some peculiarities and exceptions regarding the sharing model that you should be aware of.

The following are the peculiarities and exceptions regarding role hierarchy-based sharing:

  • Contacts that are not parented to any account are inherently private, so they are visible to their owners and administrators. For this category, contact sharing rules are not applied.
  • The same happens for notes and attachments with the Private flag enabled, which are visible only to the user who created them (and administrators).
  • Events marked as Private are only visible to their owners and administrators.
  • Role hierarchy is effective on users above them in the hierarchy, but only if they have the Read or Edit permission on the given object.
Regarding object deletion, a record can only be deleted by its owner, administrator, users above them in the hierarchy, or any user that has been granted full access sharing. For cases and leads, even though a user has public read/write/transfer access, only the owner (and administrator) can delete that record.

To add notes and attachments to a record, you should have read/write access to it and at least read access so that you can create activities or associate a child record with it.

When dealing with large datasets, consider changing the sharing model can have an impact on your system due to it having to recalculate the access level across your organization, which may take several hours to complete.

If you have more than 2 million accounts and have set up account teams and territory management, take a closer look at performance to ensure that you don't have any inherently complex sharing calculations that can cause long-running transactions.

If you need to bulk change the sharing model, you can ask the Salesforce Support team to activate the  defer automatic sharing rule calculations feature. With this in place, you can make all the changes you need on the OWD/sharing model and then execute the bulk recalculation when administration work has finished.

Avoid having a small number of accounts with thousands of contacts, cases, or opportunities. This is called data skew, and it can cause performance degradation. Keep this in mind and make accounts have a children ratio no greater than 1:10,000 (the less the better). This also occurs with ownership skew, which is when a few users hold ownership of thousands of objects. If this happens, make sure that the user is out of the role hierarchy (the user's role field is not filled in) or it has a higher role (for example, CEO). This simplifies sharing calculations.

A final suggestion is not to consider account hierarchies related to sharing. If a user owns a parent account, this doesn't mean they can have access to the child accounts; they aren't related to role or territory hierarchies.

主站蜘蛛池模板: 鸡东县| 偃师市| 英吉沙县| 枣阳市| 阿拉善左旗| 原平市| 铁力市| 宁国市| 柳州市| 九江市| 灌阳县| 林州市| 五华县| 句容市| 富裕县| 洮南市| 滕州市| 滕州市| 天门市| 洛南县| 博罗县| 闽清县| 类乌齐县| 英山县| 敖汉旗| 岑溪市| 定远县| 中宁县| 洛阳市| 桃园市| 临洮县| 巩义市| 长治市| 万年县| 德格县| 娄烦县| 舞钢市| 大关县| 泰州市| 扶绥县| 惠东县|