Add Document Permissions
This wizard is found in the Documents Workflow Steps category.
What does it do?
The Add Document Permissions wizard sets unique user and group permissions for a document in a SharePoint Document Library.
How is it used?
Documents uploaded to a Document Library have the same permissions as the Library by default. For some documents you might want to allow only certain users or groups to have access to the document at specific stages of the workflow. This wizard is used in such a scenario. For this wizard to function correctly, you need to configure the Stop Inheriting Document Permissions wizard on a previous step in the same workflow. Drag the wizard from the Documents workflow step category to the design canvas.
Wizards can be edited. For more information see Edit Wizards.

Specify the document you want to set the permissions for by either using a reference created earlier in the workflow or by browsing to a Document Library.
Field | Description | Sample Value |
---|---|---|
Document | Use this option if a reference was created for the Document earlier in this workflow. | Click the drop-down list to select the reference name. |
Site Collection |
If no reference is available, browse to the item on a registered SharePoint Site Collection. The Site Collection field is populated with the default Site Collection. |
Choose a site collection from the available site collections that have the K2 for SharePoint app registered. If there is only one it is auto-selected. Clicking Next after this option is selected, an additional page opens to specify the Library. See the Specify Library section. |

This step is only available when the Browse to library containing document option is selected on the first page of the wizard. Specify the Library where the Document is located.
Field | Description | Sample Value |
---|---|---|
Site Collection Navigation | If the SharePoint Site Collection contains subsites, navigate to the required Library by clicking the subsite. Select the required library and click Next to continue the wizard. |

This step is only available when the Browse to library containing document option is selected on the first page of the wizard. Specify filters to identify the document.
Field | Description | Sample Value |
---|---|---|
Search |
Use search criteria to minimize the fields displayed. It is useful to search for a specific field using the search criteria when having lots of fields to select from. The list of fields automatically refreshes when text is entered. |
Type text to filter the number of fields displayed in the grid |
Show |
|
Select the required option |
Filter fields | Filter for specified values in one or more fields to identify the Document. | Select the check box in front of the field to enable the filter. Type a value, or drag a value from the Context Browser such as a pre-configured Data Field, Item Reference or a SmartObject Load method. Note that when a SmartObject Load method is used, an input property is required for the correct data to load. |

Select a single user, multiple users or groups that get permissions.
Field | Description | Sample Value |
---|---|---|
Specify users and groups | Select user/s and/or groups you want to assign permissions to. Drag and drop pre-configured users and groups from the Context Browser by using a Data Field, Item Reference or a SmartObject Load method property. Alternatively click on the Toggle button to make a selection from the list provided. Note that only SharePoint users or groups can be used. | Use the Toggle button to change the selection view. |

Select the permission level for specified users and groups.
Field | Description | Sample Value |
---|---|---|
Specify Permission Level | Select the permission level you want to assign to the user/s and/or groups. Use the Toggle button to change the selection view. Multiple permission levels can be selected. Drag and drop pre-configured permissions levels from the Context Browser by using a Data Field, Item Reference or a SmartObject Load method property. Alternatively click on the Toggle button to make a selection from the list provided. | Use the Toggle button to change the selection view. |