Paul's profilePaul Galvin's SharePoint...BlogListsSkyDrive Tools Help

Blog


    December 18

    MOSS Tells Me "Access Denied" to Edit a Workflow Task, But I Really Do Have Access

    I've implemented a workflow using SharePoint Designer in a site which is mainly read-only to "NT_AUTHORITY\Authenticated Users" (i.e. everyone).  There is a forms library for an InfoPath form.  There is an associated workflow tasks list as well so that when the workflow operates, it can assign tasks to people.

    I break permission for the forms library and task list so that any authenticated user can create forms and update their assigned tasks.

    I test with my low-privileges test account. 

    Can I fill out and save a form to the library? --> YES

    Can I access the task from an email link? --> YES

    Can I see an Edit workflow task link --> YES

    Can I click on that link?  --> NO ... Permission Denied.

    Why can I see an edit link that denies me permission when I click on it?  That's not how it's supposed to work...

    I go through the security configuration again, very closely.  I do it again.  I consider deleting this post because I obviously don't know anything about security.

    Finally, I search the Internets.  I find this highly unlikely MSDN forum thread:  http://forums.microsoft.com/TechNet/ShowPost.aspx?PostID=1838253&SiteID=17

    The posters appear to be suggesting that the simple act of exporting the workflow to a drive platter will fix a MOSS security issue?  I can hardly believe I just typed that.  I'm reminded of the South Park episode about the 9/11 conspiracy where Stan is asking our Preznit, "Really?" over and over again. 

    So, nothing to lose, I fire up SPD, right-click on the workflow and save it to my c:\ drive.  That would be the c:\ drive on my laptop.  I'm looking over my shoulder the whole time so that no one will ask me, "why are you saving that workflow to your laptop?"

    Incredibly, that solves my problem.  I can edit the task.

    I hereby nominate this to be the Most Bizarre Workflow Workaround of 2007.

    </end>

    Technorati Tags:

    Comments (2)

    Please wait...
    Sorry, the comment you entered is too long. Please shorten it.
    You didn't enter anything. Please try again.
    Sorry, we can't add your comment right now. Please try again later.
    To add a comment, you need permission from your parent. Ask for permission
    Your parent has turned off comments.
    Sorry, we can't delete your comment right now. Please try again later.
    You've exceeded the maximum number of comments that can be left in one day. Please try again in 24 hours.
    Your account has had the ability to leave comments disabled because our systems indicate that you may be spamming other users. If you believe that your account has been disabled in error please contact Windows Live support.
    Complete the security check below to finish leaving your comment.
    The characters you type in the security check must match the characters in the picture or audio.
    Paul Galvin has turned off comments on this page.
    Picture of Anonymous
    jonathan wrote:
    What about running a workflow from the My Site using the OOTB Approval workflow?  The task list out of the box does not give users Contrib rights - any ideas?
    Sept. 27
    Mark Taylorwrote:
    found a solution that worked for me. I know it seems crazy, but it looks like it must refresh and attribute/permission that slipped. I had disabled inheritance/used SPD to edit permissions on the folder, or something. after setting everything back, had this problem. the following steps seemed harmless and got it going again

    -> Open Sharepoint Designer,

    -> right click on Workflow 1 (My workflow)

    -> select Publish Selected Files...

    -> choose  File System and write a location ( c:\ ) for example

    -> Click OK

    June 30

    Trackbacks

    The trackback URL for this entry is:
    http://paulgalvin.spaces.live.com/blog/cns!1CC1EDB3DAA9B8AA!539.trak
    Weblogs that reference this entry
    • None