对读者隐藏网站栏?

发布于 2024-08-12 02:23:30 字数 65 浏览 0 评论 0原文

在列表中,我有一个“状态”字段,该字段应仅可供所有者访问,而查看者/读者不应访问。任何人都可以指导我如何做到这一点。

in a List i have one 'Status' field that should be accessible to only Owners and to the Viewers/Readers it should not be accessible. Do anybody can guide me how to do this.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(4

时光磨忆 2024-08-19 02:23:30

好吧,你可以,如果用户知道如何访问列表的默认视图,你的视图仍然可见,如果不是安全问题,你可以使用这个:

  • 打开你的所有项目视图(/Lists/MyList/AllItems.aspx )
  • 编辑页面
  • 添加与 Web 部件相同的列表,两次
  • 删除原始 Web 部件(带有“更改视图”下拉菜单的 Web 部件)
  • 编辑您的 Web 部件并配置您的视图
  • 在工具部件中,在高级 [+] 上将受众定位设置为您想要的分组
  • 完成!

Well, you can, your view still is visible if the users know how to reach the default views of your list, if its not a security issue, you can use this:

  • Open your All Items View (/Lists/MyList/AllItems.aspx)
  • Edit the Page
  • Add the same List as a WebPart, twice
  • Delete the original webpart (the one with the Change View drop down)
  • Edit your WebParts and configure your views
  • In the Toolpart, on the Advanced [+] set Audience Targetting to your desired Groups
  • Done!
屋檐 2024-08-19 02:23:30

或者您可以创建一个工作流程,将项目及其元数据复制到新列表,但没有该特定列,并且仅授予查看者查看该列表的权限。

Either that or you can create a workflow that copies the item to a new list with its metadata, but without that specific column and only give the viewers rights to see that list.

奶气 2024-08-19 02:23:30

如果问题是安全问题(通常是这样,否则只需使用视图),您就无法锁定特定列。你可以找到隐藏它们的技术,但你只是在堵塞漏洞。

KoenVosters 推荐的工作流程方法可能是我能想到的无需编码即可实现此功能的唯一安全方法。

If the question is one of security (it usually is, else just use a view), you can't lock down specific columns. You can find techniques to hide them, but then you're just plugging holes.

The workflow approach recommended by KoenVosters is probably the only secured way I can think of delivering this without coding.

记忆里有你的影子 2024-08-19 02:23:30

这是不可能开箱即用的,但我遇到了这个工具,它将有助于轻松存档此内容

This is not possible out of the box, but I came across this tool that will help to archive this with ease

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文