tailieunhanh - Thủ thuật Sharepoint 2010 part 102
Các công việc chuẩn chạy với quyền truy cập của người sử dụng những người khởi xướng các quy trình làm việc, do đó, nếu người dùng gửi một văn bản phê duyệt, mà công việc phê duyệt đang chạy với người sử dụng thông tin quan trọng và có thể thực hiện chỉ những hành động mà người sử dụng sẽ có thể làm trong SharePoint | 764 I CHAPTER 25 BUILDING WORKFLOWS IN SHAREPOINT 2010 High-Privilege Workflows The standard workflow runs with the permissions of the user who initiated the workflow so if a user submits a document for approval that approval workflow is running with that user s credentials and can perform only those actions that the user would be able to do in SharePoint. This is limiting as in some instances you would like the workflow to perform with higher permissions for example when using the Copy List Item or Create List Item actions. You may want to copy or create a list item to an archive list or library that has custom permissions so that all users have read-only access. This will be impossible for a standard workflow to run. When the copy or create action step is run the workflow will throw an error. Fortunately a new feature allows you to change the user account that the workflow uses. This is known as an impersonation step and it allows users to create high-privilege workflows. After this step is added to your workflow any subsequent actions run as the author of the workflow. This is a great advancement for workflow creators and the only restriction is that the user who is creating the workflow must have the appropriate access for any condition or action it will perform. However it is much more secure to give permissions to one user rather than a whole group of users. In some situations a designated user account can be created specifically for this purpose. Office InfoPath 2010 Compatibility With SharePoint Server 2010 you can now create SharePoint Designer workflows that leverage Office InfoPath 2010 forms. These forms are much easier to create and edit than the previous ASPX forms used in 2007. You can also use the additional conditional formatting and easy branding that is included with the InfoPath client. 5 For users to be able to have this type of integration with InfoPath browser-o r us e is o ea e o a ve s y p eo n eg r a o nw n o a to w sei enabled forms you .
đang nạp các trang xem trước