Sharepoint Forum

Ask Question   UnAnswered
Home » Forum » Sharepoint       RSS Feeds

Changing Permissions with a Workflow

  Asked By: Eleanor    Date: Dec 10    Category: Sharepoint    Views: 2583

I have a number of instances where we want to leverage a workflow for
approval on a piece of content, but would like to change the
permissions of the people accessing the document after they have
approved it.

Person A has edit rights to the document, they make changes , then
approve the document, from that point forward they now have read only

Has anyone else done this, if so how was it done?



4 Answers Found

Answer #1    Answered By: Caleb Gordon     Answered On: Dec 10

I haven't done this but wouldn't that just entail setting unique
permissions on the document?

Answer #2    Answered By: Anuj Lakhe     Answered On: Dec 10

I haven't done it in a workflow, but I've got a Blog entry that shows
the code to do it in an event handler. You could use similar code in a
Visual Studio workflow  code activity to do what you want. The Blog is
located here:

Answer #3    Answered By: Micheal Knight     Answered On: Dec 10

I would think that you would have to leverage the WSS Object model to
modify the permissions  of an item.

Answer #4    Answered By: Aditiya Kapale     Answered On: Dec 10

you could certainly do that, but what is required is that if you have person  a,
person b, person c in a workflow  and person a is first in the work flow and
edits the document, once they approve the document  the workflow would change
their permissions  to read-only and then move on to person b, where the same
thing is going to occur and then person c. At that point  the document is no
longer editable by anyone but the site owner. This is requested for content
management purposes.

We want a static copy of the document at the end of the workflow to live in the
records center and a second copy that is as locked down as it can be to live in
the collaboration space as reference. Steve

Didn't find what you were looking for? Find more on Changing Permissions with a Workflow Or get search suggestion and latest updates.