I recently created a SharePoint library, and added a PeoplePicker field. I then went into SPD and created a 2010 workflow, and created:

if PeoplePicker field not empty, use impersonate function to add Read access for current item

This works great. (Well, only when I only have 1 person in the field. As soon as I add an additional person to the field, the workflow fails. But that's another problem for another day).

What I need to do next is, if I remove someone from the PeoplePicker field, I want to be able to write a workflow to remove the person's permission from that file.

Anyone have any thoughts?

  • 1
    As I see it, you could make this work by creating a OnChange workflow, which would reset the item permissions to inherit from parents, and add again Read access to user in the PeoplePicker field. Note: This will not work as expected if you have unique permissions for the item though... – Marc-André Dec 8 '17 at 14:13
  • @douvillema I would mark your comment as the correct answer – Mike Dec 8 '17 at 16:37
  • There is the "remove" permissions action that works fine. But I couldn't actually get that to work, it kept completing the workflow, but didn't actually remove the permissions. – Steve Morley Dec 8 '17 at 18:42

You could achieve this by creating a workflow which execute OnItemCreation in SPD.

With a 2010 workflow, use an Impersonation Step and simply use the Inherit List Item Parent Permissions action, and add again the permissions like you did in the first workflow.

2013 Workflow

I'm not sure if you can do the same with a 2013 workflow. AFAIK, there's no such action for a 2010 workflow, but you may be able to do it via Rest API.

Tip: You could actually edit your 1st workflow to add these steps instead, avoiding to have multiple workflows for one action.

| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.