-2

I have one org and three users in it.

1st user is owner with role owner. and 2 user is manger with same role manager.

Now I want to keep to manger data private to each other so they only can see their data.

and owner can see both of them data.

I set up role Hierarchy and also make private OWD for that object but still record visible to each other.

closed as off-topic by Adrian Larson, Adam Spriggs, Ratan Paul, Sebastian Kessel, Dave Humm Jan 11 '17 at 17:24

This question appears to be off-topic. The users who voted to close gave this specific reason:

  • "Questions on problems in code you've written must describe the specific problem and include valid code to reproduce it. For help writing short, self-contained syntactically-valid examples, see: SSCCE.org" – Adrian Larson, Adam Spriggs, Ratan Paul, Sebastian Kessel, Dave Humm
If this question can be reworded to fit the rules in the help center, please edit the question.

  • Could you update your question title to be more relevant? – Martin Lezer Jan 11 '17 at 13:32
  • 1
    Hi Parth, welcome to SFSE! Please take a moment to visit the help center and read How to Ask. Certification questions aren't generally on topic here, not any question where you cannot demonstrate that you have not made an attempt to solve your own problem. I didn't downvote, but that's the likely reason you've received one so far. Try to show what you've looked into. – Adrian Larson Jan 11 '17 at 13:41
  • I do visit there and learn how to ask , i've just join this blog. – Parth Naik Jan 11 '17 at 14:28
  • 2
    This site is not a blog, it is a terse Q&A site. You should read the faq in addition to the resources I linked above. – Adrian Larson Jan 11 '17 at 17:32
1

You will need to create sharing rules for the objects that you want set like this.

To do this, you will need to either set each of your managers in a different role, or create 2 public groups, each with one manager in it.

After you have done that, on the settings page, search for Sharing Settings. Then, scroll down to see the different objects within your org. Under the object header, click the New button.

Give the Sharing Rule a name.

Set it so that each role or group can only share to it's own role or group.

Set your access level to read/write.

You will need to do this 3 times on each object, one for each manager, and a third that says that if the owner is an internal user, share with owner role.

EDIT

Based on the comments, you will also need to remove the Read/Modify all flags from the manager. Those 2 flags will override sharing and field lock rules.

  • Thanks for quick reply , I try it i create two role assign to each manager and create thee Sharing Rule and set it witch each role but still visible in each other. – Parth Naik Jan 11 '17 at 14:16
  • 1
    Are the profiles set to View All and/or Modify All? – smckitrick Jan 11 '17 at 14:45
  • Yes it is set to View All & Modify All – Parth Naik Jan 11 '17 at 14:53
  • I updated the answer. You will need to remove those as well. Those flags override sharing and lockout rules. They really should only be set for the user(s) who need to see everything in the system, regardless of rules. Typically with our programs, this would be the System Administrator account or similar. – smckitrick Jan 11 '17 at 15:41
  • I remove that permission but still no good news , it might be small thing for you but i am new to admin side. – Parth Naik Jan 11 '17 at 16:38

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