Recommended sharing with Search User function
When users are added to a questionnaire using the
Search User
function (see
Enabling company search in the template for more information about the search user function), it is possible to configure what permissions these users should have on the Document if these users do not already have these permissions. These settings will be displayed on the Document details page as sharing recommendations which can be applied to the Document.
If the exact sharing rule already exists, no recommendation will be created. The recommended rules will be added at the bottom of the list. If another sharing rule already exists for the same user or group, the previous rule will not be removed automatically. The user should review all permissions, remove duplications and update the order of the sharing rules manually.
Let's say that we have a template which has 2 variables
Signatory1:id
and
Signatory2:id
which allows two signatories to be added to the questionnaire using the
Search User
function.
To set the recommended sharing for each user we will first add the following to the template:
{ Export sharing rule with type as "User", name as Signatory1:id, right as "Write" }
{ Export sharing rule with type as "User", name as Signatory2:id, right as "Read" }
The above will recommend that Signatory 1 is assigned Write permissions and Signatory 2 is assigned Read permissions.
Now let's say our template is launched by a user John Doe and John Doe adds two signatories: Sally Peters as Signatory1 and Mike Allen as Signatory 2. If Sally Peters does not already have Write permissions and Mike Allen does not already have Read permissions on the Document, John Doe will see an information icon prompting him to review the sharing recommendations.
On click, the sharing details will open in a drawer on the right-hand side and the recommendations will be highlighted in yellow:
Here John Doe can choose to accept the recommendations which will apply the recommended settings to the Document. Once John Doe has accepted these settings, he will not see the recommendations again unless he changes this setting or the recommended setting in the template is updated.