Add Library Permissions
This wizard is found in the Libraries Workflow Steps category.
What does it do?
The Add Library Permissions wizard sets unique user and group permissions for a SharePoint Document Library.
How is it used?
When adding a new Document Library to a SharePoint Site, the Library inherits the site permissions set. For some Libraries you might want to allow only certain users or groups to have access to it. This wizard allows you to assign unique permissions to users and groups for a Document Library. For this wizard to function correctly, you need to configure the Stop Inheriting Library Permissions wizard on a previous step in the same workflow. Drag the wizard from the Libraries workflow step category to the design canvas.

Specify the Document Library 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 |
---|---|---|
Library | Use this option if a reference was created earlier in this workflow for the Library. | 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 was used, an additional page will open to specify filters if required. See theSpecify Filters section. |

This step is only available when the Browse to library option is selected on the first page of the wizard. Specify filters to identify the Document Library.
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 Library. | Select the check box in front of the field to enable the filter. Type the value of the field, 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. |