Update Item Permission Plug-in
The Update Item Permission plug-in enables you to add, overwrite, and/or remove view permissions on the document, for any user(s) or group(s).
Properties
Name | Description | Mandatory |
---|---|---|
Username | The person to whom permission is assigned. Multiple users may be listed, using comma separators. Example: Direct Value: domain\username Value from form field: [/my:myFields/my:field2] Value from solution field: [field1] |
Yes |
Groupname | The group to which permission is granted. Multiple groups can be listed, using comma separators. Example: Direct Value: group1 Value from form field: [/my:myFields/my:field2] Value from solution field: [field1] |
Yes |
Permission | The permission to view which is given to the user(s) or group(s). | Yes |
Mode |
Specifies if the user wants to add, overwrite, or remove permissions for a specified user(s) or group(s). Add – Grants view permissions on the current item to the user(s) or group(s) specified in the Username and Groupname parameters. Previously granted permissions will not play a role. Overwrite – Removes view permission on the current item for all users, and then provides view permissions to the user(s) or group(s) specified in the Username and Groupname parameters. Remove – Removes view permissions for the current item for the user(s) or group(s) specified in the Username and Groupname parameters.
Note: If the mode is Remove and users or groups are not provided, permissions for the current item are removed for all user(s) or group(s).
|
Yes |