Sharepoint 日历项目 - 可以自动授予权限吗? (WSS 3.0)
在 sharepoint 中,您可以按日历和按项目设置权限。
本质上,我们有两种日历项目,两者都有不同的权限。我们希望简化权限设置过程,最好是自动的。
是否可以基于(例如)自定义复选框列自动设置每个日历项目的权限?
Within sharepoint you can set permissions on a calendar basis, and on a per-item basis.
Essentially, there are 2 kinds of calendar items we have, both with different permissions. We'd like to simplify the permissions setting process, ideally so its automatic.
Is it possible to have the per-calendar-item permissions set automatically, based on (for example) a custom checkbox column?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
开箱即用,不。但是您可以编写一个事件处理程序,侦听
ItemAdded
事件和ItemUpdated
事件,该事件执行BreakRoleInheritance()
并设置所需的权限。但是,请记住,如果添加该项目的用户在事件处理程序执行其工作后无法访问该项目(用户看到该项目,然后他/她刷新了页面并刷新了该项目),则结果可能会“有趣”。看到错误页面)。Out of the box, no. BUT you can write an event handler, listening to
ItemAdded
event andItemUpdated
event which performsBreakRoleInheritance()
and sets the required permissions. However, bear in mind that the results may be "interesting" if a user who added the item, does not have access to it after the event handler has performed its work (the user saw the item, then he/she refreshed the page and sees an error page).