12月累计更新的一个导出导入网站的问题在2月累计更新中修复了

问题重现:
  • 创建 Windows SharePoint Services 3.0 网站集。
  • 导出网站集。
  • 在导入新的网站集的网站集。
  • 在新的网站集中创建一个新的自定义的列表。
  • 您添加新的列表项,并尝试编辑该新添加的列表项。

在这的种情况下不能编辑新添加的列表项 (Access Denied 错误)。

一直没有发现这个问题, 直到前几天有人问起, 仔细找了一下, 发现这是个很严重的问题, 导出导入(Export命令, 把网站存为模板, Content Deployment等等)都会导致这个问题.

问题发现不久就专门出了一个hotfix修复了, 这个hotfix也集成到了2月累计更新中.

 

不过问题是已经导出导入的站点只能靠程序的方式修复.

For existing lists, you can run the following code to fix it. Here is a sample peace of code that should add the appropriate attribute to the list having the issue:

Code

 

也可以参考这个blog给出的代码:

http://www.beyondweblogs.com/post/SharePoint-security-access-denied-permission-corruption-problem-Edit-Item-and-Access-Workflows.aspx

posted @ 2009-04-09 18:54  Lambert Qin  Views(276)  Comments(0Edit  收藏  举报