This activity grants permission on specified folder. You can override or append user grant permissions. Value of permission field by default can be one of the following values:
None
Guest
Reader
Contributor
Web
designer
Administrator
Editor
System
SharePoint Designer phrase
Grant Reader permission on current folder in current list to user(s)/group(s). Override current unique permissions No.
Parameters
Input parameters
Parameter | Description | Example |
siteUrl | The URL of a source SharePoint site. If the value field is empty, current sitewill be used. | https://contoso/SiteUrl; https://contoso/Sites/SiteUrl; [%Workflow Context:Current Site URL%]/subSite |
Permission level | Permission level | None; Guest; Reader; Contributor; Web designer; Administrator; Editor; System |
current folder | Folder path inside selected list/document library | Folder 001; Top Folder/Sub folder 1/sub folder2 |
current list | Name or Url of chosen list. Ifthe value field is empty, current list will be used. | Tasks; [%Workflow Context:List Name%] /Lists/ Tasks |
User(s)/group(s) | User login, e-mail, groupname, group ID | “user@domain”, “domain\user”. It allows multiplevalues separated by a semicolon. |
Variable | Override current permissions | No – a new permission will be added to existed permissions Yes – a new permission will override |
(remove) all old permissions |
Example