Sharepoint Forum

Ask Question   UnAnswered
Home » Forum » Sharepoint       RSS Feeds

Document versioning and drafts item permissions

  Asked By: Rohit    Date: Jan 30    Category: Sharepoint    Views: 2164

I have a form library with major minor verisoning turned on and draft items
visible to users with Edit rights. content approval is required and check out is
not enabled. I have designer workflows that publish the documents. I am
observing the following behavior.

Initally I publish a major version with a blank form.

User A - >Edit, Read rights
User B -> Read rights

User A edits the document and a workflow starts which assign

User A - >Read rights
User B -> Edit, Read rights

at this point User A can view the draft document although he has the read
rights. He shouldnt be able to see the document according to the definition of
draft item security, but I assume that he can because he has a draft version to
his name.

Now User B made some changes and workflow kicks in which assigned

User A - >Edit, Read rights
User B -> Read rights

at this point User B is unable to see the draft changes he made. intead he sees
the initial blank form. This is a contradiction to what happen earlier with User
A but inaccordance to the definition of draft item security.

I am able to reproduce this behaviour with different environments. Can some one
give me a hint why is this contradictory behaviour?



1 Answer Found

Answer #1    Answered By: Lynn Mann     Answered On: Jan 30

InfoPath forms are made  up of two things. The form  itself and an XML file
that stores the data. Since the form is blank  when user  A starts  editing it
I suspect UserA becomes the owner of the underlying XML file holding the
data that has now been generated. Even when you change their rights  they
can still see the form because they are owner of the XML file. When userB
edits the file they are simply a modifier of the underlying XML file, not
the owner so when they get restricted to Read rights they can't see the
form. Try this. Start with a Major version  that has one field filled in
and see if User A doesn't lose their right to see the draft  after editing it
just like User B.

Didn't find what you were looking for? Find more on Document versioning and drafts item permissions Or get search suggestion and latest updates.