Tuesday, February 16, 2010 12:09 AM
1- Logged in as farm administrator
a. Deleted all tasks
b. Cancelled all workflow tasks
c. Deactivated (Sharepoint 2007 Wokflows)
d. Reactivated (Sharepoint 2007 Wokflows)
2- Logged-in as sp-admin (Site member – Contribute)
a. Created a new association with built-in workflow (approval-Sharepoint 2010) with a document library.
b. Edited a document settings to start the workflow on a specific document
c. Assigned the workflow to a specific user (sp-user2) who is both a member of the ‘site members’ and of the ‘site owner’
d. In the associated task list, Checked the workflow status : Not started, but the workflow is ‘in-progress’
3- Logged-in as sp-user2
a. Went to the ‘Tasks’ list
b. Tried to edit the task associated with the recently created workflow
c. Get the error: Access denied for the currently logged on user.
I really don’t understand what is happening. If I go to the tasks Permissions, the library permissions and the workflow permissions. The user sp-user2 has always ‘contribute’
Saturday, February 20, 2010 8:40 PM
Did you log in to the OS as sp-user2? Or did you use the welcome menu log in as entry?
If you didn't actually login to the OS as the user then this can be a problem. It's not a matter of permissions. Code has been added to the workflow so that when a task is opened by anyone other than the person it is assigned to it is non-editable. If you login using the welcome menu the workflow may be picking up the wrong credentials and think that you are actually the person logged in to the OS. Make sure you log out of the workstation entirely and then log in as sp-user2.
Paul Stork SharePoint Server MVP