更改项目所有者不会导致新所有者被授予站点访问权限 [英] Changing the project owner does not result in the new owner being granted site access
问题描述
您好,
我们遇到的问题是,在PWA中更改项目所有者会授予所有者访问计划和PDP的权限,但不能访问项目站点。
为了授予对网站的访问权限,我们需要从服务器设置进行同步,或者将所有者分配给计划中的任务并发布计划。这些变通办法都不是理想的。只是想知道是否有其他人经历过这个并且有一个
更好的选择?
非常感谢。
Hello Franko
为了将用户同步到项目站点工作区需要进行同步,正如您所提到的那样,OOB应该通过使用服务器设置中的同步或发布,aprat来自这个定制似乎是解决方法,你可以
编写一段简单的代码并启动同步并将其附加到自定义字段更新的事件处理程序,因此它会自动启动同步自定义字段已更新(您可以根据需要在其中构建逻辑
到执行)
作为起点,您可以参考:
http://msdn.microsoft.com/en-us/library/websvcwssinterop.wssinterop_di_pj14mref_methods.aspx
具有方法"QueueSynchronizeMembershipForWssSite"如果有帮助,请告知我们
Hi,
We have an issue where changing a project owner within PWA grants the owner access to the schedule and PDP's but not to the project site.
In order to grant access to the site we need to do a syncronise from server settings, or assign the owner to a task in the schedule and publish the schedule. Neither of these workarounds is ideal. Just wondering if anyone else has experienced this and has a
better option?
Many thanks.
Hello Franko
in order to sync the user to project site workspace synchronization needs to be done which as you mentioned OOB should be done either by using Sync from server settings or publishing, aprat from this customization seems to be the workaround, you can write a simple piece of code and kick the synchronization and attach it to custom field updated event handler, hence it would automatically kick the synchronization as soon as any custom field is updated (you can build logic inside on when you would want it to execute)
As a starting point you may refer to : http://msdn.microsoft.com/en-us/library/websvcwssinterop.wssinterop_di_pj14mref_methods.aspx
having method "QueueSynchronizeMembershipForWssSite" which would do the required
Let us know if this helps
这篇关于更改项目所有者不会导致新所有者被授予站点访问权限的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!