为 MOSS 2007 设置针对特定组的数据视图条件格式
我需要找出一个解决方案,仅允许有权查看 Editform.aspx 中的列表项的特定用户组。我创建了一个自定义表单,它允许我对特定表行应用条件格式。我使用了高级格式化 XPATH 表达式 "ddwrt:IfHasRights(16)",它适用于具有贡献权或以下权限的任何组,但我还需要排除其他组,例如第 1 - 3 层、站点建造商、设计师等或以上“批准”状态。目的是只允许非常选定的一组个人(我创建了一个名为“审批者”的组)来查看隐藏的表行。
目前正在开发MOSS 2007标准版本。
感谢您的任何建议!
贾森
I need to figure out a solution to allow only a specific group of users with permission to view a List Item in Editform.aspx. I created a custom form which would allow me to apply conditional formatting for a specific table row. I had used the advance formatting XPATH expression "ddwrt:IfHasRights(16)" which worked with any group that had contribute rights or below, but I also need to exclude other groups like tier 1 - 3, Site Builder, Designer, etc or above "Approval" status. The purpose is to only allow a very selected group of individuals (I created a group called "Approvers") to see the hidden table row.
The current working on MOSS 2007 standard version.
Thanks for any suggestions!
Jason
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
您可以使用 JQuery 和 SPServices 检查登录用户所属的组,请参阅我的帖子 这里解释了原理。在这种情况下,如果用户属于特定组,它将隐藏元素。
You can use JQuery and SPServices to examine the group a logged in user belongs to, see my post here which explains the principle. In that case, it hides an element if a user belongs to a particular group.