Sign up for Office 365
Learn more about Office 365
I am trying to do a workflow to modify permissions on a newly uploaded document.
It is a re-usable workflow using an impersonation step.
The document library has default permissions for three groups.
I want to remove these permissions on new document and allow only the person who uploaded the document to access it (and the site owners), in an automatic workflow when the document is new.
Removing permissions for the groups works fine.
But the person who uploaded the document cannot access it after the workflow runs (they are a member of one of the groups I remove).
So I thought I would add back permissions for "User who created current item", but this does not seem to have any effect.
I see only the user who is being impersonated as having Full Control.
Can anyone help
Thank you for this exact description of what I have already done.
My question is about the way the "User who created item" permission is applied. In my environment this permission is not applied correctly.
The user who writes the workflow is give permissions, NOT the user who uploads the document.
If a user other than the workflow writer uploads a document, they see if for a few seconds and then they can no longer access it. The document is uploaded but only the workflow author has access to it.
I have resolved this by adding permissions for the user who last modified the item - this works as expected.
HOWEVER I want to understand why the "user who created the item" does not work as expected.
I’m glad to hear the problem is resolved by “adding permissions for the user who last modified the item”. Based on my experience, the problem should be caused the Impersonation Step inserted would run as the author who last edit the workflow, but not the user who started the workflow.