目标受众不适用于公告列表项 [英] Target Audiencing doesn't work on an Announcement List Item

查看:85
本文介绍了目标受众不适用于公告列表项的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个公告列表,可以根据目标受众是谁来创建视图.

I have an announcement list that I create views for depending on who the target audience is.

在网站页面上,我可以将列表添加为Web部件.选择管理员"视图,然后选择访问Web部件",以使非管理员用户看不到该部件.效果很好.

On the site page I can add the list as a web part. Choose the Administrator view and then Audience the Web Part so that it appears blank to anyone who is not an administrator. Works fine.

由于这并不是真正的安全性,因为进入主列表的任何人都可以看到所有公告.我打开了对该列表的审核.然后,我创建一个项目并将其目标受众设置为我要查看的组.那是行不通的.

Since that isn't really security because anyone getting into the main list can see all the announcements. I turned on audiencing for the list. I then create an item and set its target audience to the group I want to see it. That does not work.

我在Web部件和列表项上使用相同的组.对于Web部件,它起作用,而对于列表项,则不起作用.每个人仍然可以看到列表项.

I use the same group on both the Web Part and the List Item. For the Web Part it works and for the list item it does not. Everyone can still see the list item.

有人有什么主意吗?

推荐答案

受众"永远都不安全.它仅用于过滤数据.对于列表,受众"仅用于过滤Web部件中的内容.

"Audience" is not security... ever. It is only used to filter data. For lists, Audiences are only used to filter the content in web parts.

两个选项:

  • 中断列表中每个项目的继承并授予唯一权限. (通常是一个非常糟糕的主意)
  • 在列表中为每组用户创建文件夹.将列表项添加到文件夹.中断对文件夹的继承,并将权限授予选定的组.在列表的默认视图中,使用视图选项不显示文件夹.


这篇关于目标受众不适用于公告列表项的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆