I have imported 2 organizations(Account(type- abc, xyz) & events) data into one production organization.And created two users (salesforce platform license) called A, B and set the OWD is priavte for account and control by parent for activities objects and created sharing rules for assigning abc acocunts to User A (READ/WRITE) and xyz accounts to User B (READ/WRITE). User A seeing only "abc" type of accounts with read/write access and events(read/write) associated with abc accounts, it's working fine.

Problem: User A also seeing Events(read access) associated with "xyz" type of accounts on calendar when he logged in salesforce. User A must see only "abc" events not "xyz". How to solve this issue.

I really appreciate your help.

  • @Eduard: I set the activities is "Control by parent" not event. – SFDCLearneR Aug 10 at 7:46
  • I have updated. – SFDCLearneR Aug 10 at 7:49
  • Do you have any idea to fix the issue? Please let me know. – SFDCLearneR Aug 10 at 7:50
  • Does User A has Read access (record level) to "xyz" accounts? – Eduard Aug 10 at 7:57
  • Please delete unnecessary comments. – Eduard Aug 10 at 7:58

The most probable answer to you issue might be how Activity Access Levels work in SF. When you set "Controlled by Parent" to Activities it means:

A user can perform an action (such as view, edit, transfer, and delete) on an activity based on whether he or she can perform that same action on the records associated with the activity.

For example, if a task is associated with the Acme account and the John Smith contact, then a user can only edit that task if he or she can also edit the Acme account and the John Smith record.

For you it means that User A has read access to "xyz" accounts thus making its related Activities (Events) visible to the user. The only resort for you in this case would be making OWD for accounts Private (which you did) and remove all Sharing Rules for Account that grant User A access to that accounts.

  • User A doesn't have 'xyz' account access but still he is accessing events with read access associated with 'xyz' account. – SFDCLearneR Aug 10 at 9:12
  • Could you please update your question and attach screenshots with all these details (OWD, Shraing Rules for Accounts etc.). It also might be the case when user A can see user B, and user be has access to the 'xyz' events. So user A can see 'xyz' events too (see the excerpt from the docs above). – Eduard Aug 10 at 9:29
  • Thank you for your inputs. Currently User A accessing User B. Any way we can fix the issue? Please let me know. – SFDCLearneR Aug 10 at 9:58

Your Answer

 
discard

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Not the answer you're looking for? Browse other questions tagged or ask your own question.