แฟ้มประวัติPaul Galvin's SharePoint...บล็อกรายการSkyDrive เครื่องมือ วิธีใช้
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:

ข้อคิดเห็น (2)

โปรดรอสักครู่...
ขออภัย ข้อคิดเห็นที่คุณป้อนยาวเกินไป โปรดย่อให้สั้นลง
คุณไม่ได้ป้อนข้อมูลใดๆ โปรดลองอีกครั้ง
ขออภัย เราไม่สามารถเพิ่มข้อคิดเห็นของคุณได้ในขณะนี้ โปรดลองอีกครั้งในภายหลัง
ในการเพิ่มข้อคิดเห็น คุณต้องได้รับการอนุญาตจากผู้ปกครองของคุณ ร้องขอการอนุญาต
ผู้ปกครองของคุณได้ปิดการแสดงข้อคิดเห็น
ขออภัย เราไม่สามารถลบข้อคิดเห็นของคุณได้ในขณะนี้ โปรดลองอีกครั้งในภายหลัง
คุณแสดงข้อคิดเห็นเกินขีดจำกัดสูงสุดที่สามารถทำได้ในหนึ่งวันแล้ว โปรดลองอีกครั้งในอีก 24 ชั่วโมง
บัญชีของคุณถูกปิดใช้งานการแสดงข้อคิดเห็น เนื่องจากระบบของเราพบว่าคุณอาจกำลังสแปมผู้ใช้รายอื่น หากคุณมั่นใจว่าบัญชีของคุณถูกปิดใช้งานอย่างไม่ถูกต้อง โปรดติดต่อ ฝ่ายสนับสนุน Windows Live
ดำเนินการตรวจสอบความปลอดภัยทางด้านล่างเพื่อให้การแสดงข้อคิดเห็นของคุณเสร็จสมบูรณ์
อักขระที่คุณป้อนในการตรวจสอบความปลอดภัยต้องตรงกับอักขระในรูปภาพหรือเสียง
Paul Galvin ปิดข้อคิดเห็นในเพจนี้
รูปภาพของ ไม่ระบุชื่อ
jonathan เขียน:
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?
27 ก.ย.
Mark Taylorเขียน:
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

30 มิ.ย.

การติดตามข้อมูล

URL การติดตามข้อมูลสำหรับข้อมูลนี้คือ:
http://paulgalvin.spaces.live.com/blog/cns!1CC1EDB3DAA9B8AA!539.trak
เว็บล็อกที่อ้างอิงข้อมูลนี้
  • ไม่มี