# Contact Sharing Rules

## Setup

Enter Setup, then search for Sharing Settings under Quick Find. When you open it, Organisation-Wide Defaults will appear and you should make sure that 'Contact' is set to private for both Internal Access and External Access.

<figure><img src="/files/0OpxwgtMDO30WHy7VNFx" alt=""><figcaption><p>Contact Default Settings</p></figcaption></figure>

You can do so by selecting Contacts from the drop down list and adjusting the settings.&#x20;

<figure><img src="/files/0CMB8693nZqEWnxQLCFl" alt=""><figcaption><p>Drop Down List</p></figcaption></figure>

When the sharing is set to private, a user can only see contact records that they created or they are the owner of. This is the default setting before our logic kicks in. Once you turn that off and before you do the next steps, that is what the permissions will look like for 'Contact' in your Salesforce instance.&#x20;

{% hint style="info" %}
Make sure that your users don't have a profile in the 'Profiles that Override Contact Sharing' list that has ticks. If they do, then these users can view and modify **all** the contacts.

You would want this for a system admin, but not for a regular user.&#x20;
{% endhint %}

<figure><img src="/files/P5swv8pzUkzan4Y27Yiy" alt=""><figcaption><p>Profiles that Override Contact Sharing</p></figcaption></figure>

Once you have set the access to private, what you need to do is go to Client Care Settings. You will notice that there is a new setting under General Settings called Maica Managed Sharing. Ensure that this setting is enabled by clicking edit, switching the toggle and saving.&#x20;

<figure><img src="/files/Y7yaBt1YtBvSFZVVBqxV" alt=""><figcaption><p>Maica Managed Sharing</p></figcaption></figure>

{% hint style="info" %}
It might take a few minutes for any changes to take effect.
{% endhint %}

## Sharing Records

The way you share records is via the resource participants object. You can see in the image below that Yuri Green has been shared with this user

<figure><img src="/files/MWJCkfuSOZWJjiECGDjp" alt=""><figcaption><p>Shared Contact</p></figcaption></figure>

If you would like to share another contact, simply press on the 'New' button in the top right corner of Resource Participants. Once the pop-up appears, choose a client from the list shown in the image below.

<figure><img src="/files/JsbBB7IH86oCATSimeLM" alt=""><figcaption><p>Contact List</p></figcaption></figure>

Then, provide a start date. If you would like, you could leave the end date blank, otherwise you can select a date for the access to be removed. It is likely that you will leave the end date blank. &#x20;

Suppose you add Sarah Milne. Now, if you log in as this user, you can see Yuri Green's record and also Sarah Milne's record, which you have just added. Additionally, you can see any other records that are **not** in the list, but that you have created or that have been manually shared with you.

{% hint style="info" %}
You can still share a contact from the regular contacts page.
{% endhint %}

For more information, please see the following [video](https://www.loom.com/share/994c44d6eff846928d6ee76daa799c77?sid=7b9f8c67-81f9-4bf4-b02c-74ef8e5eeb25).


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://kb.maica.com.au/participant-management/contact-sharing-rules.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
