一个问题列表,用户只能看到分配给他们的问题

发布于 2024-10-15 02:52:53 字数 436 浏览 3 评论 0原文

是否可以在共享点中有一个问题列表,其中用户只能看到他们分配的问题(而不能看到其他问题)?

我认为这是不可能的,因为我相信观点不能基于许可。

更新:

审核后我的安全限制已经放松,所以我不必担心 saavy 用户操纵 url id 等。我只是不希望用户能够看到名为“所有问题”的视图在下拉列表中。以某种方式隐藏这个观点。理想情况下,用户只会看到名为“我的问题”的视图。但是,我需要一个“所有问题”视图供贡献用户分配问题。被分配问题的用户只需要对其问题进行读取访问。

我正在考虑添加一个“主”问题列表,其中贡献用户将维护并具有一个同步例程(我已经编写过),该例程会将所有项目同步到另一个问题列表,该列表仅公开“分配给等于[我]”视图(默认)或者可以通过仅拥有一个列表并以某种方式对常规用户隐藏“全部”视图或其他内容来更轻松地完成此操作吗?我不希望用户单击“所有网站内容”并选择列表来查找“全部”视图。

Is it possible to have an issues list in sharepoint where users can only see their assigned issues (and not others)?

I don't think it's possible, since I believe views cannot be permission based.

Update:

My security restraint has been relaxed after review, so I won't have to worry about the saavy user manipulating the url ids, etc. I just don't want the user to be able to see a view called "All Issues" in the drop down list. Somehow hide this view by obscurity. Ideally, the user would only see a view called "My Issues". However, I need an "All Issues" view for the contribute user to assign issues. The users being assigned issues only need read-access to their issues.

I was thinking of adding a "master" issues list where the contribute user would maintain and have a sync routine (that I've already written) that would sync all the items to another issues list that only exposes the "Assigned To equal to [Me]" view (default) or can this be done easier by just having one list and somehow hide the "All" view from regulars users or something? I don't want the user clicking "All Site Content" and selecting the list to find the "All" view.

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

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

发布评论

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

评论(6

離殇 2024-10-22 02:52:53

您是在谈论真正的安全性还是配置视图?

如果您要配置视图,只需将分配给 的过滤器设置为[Me]

Are you talking about true security or configuring a view?

If you're configuring a view, just set the filter for Assigned To equal to [Me].

一梦等七年七年为一梦 2024-10-22 02:52:53

我认为您无法实现此 OOTB 功能,但您可以使用 Content Qwery Webpart。查看这篇关于的文章WSS 3.0 的内容查询 Web 部件替代方案,看看它是否有帮助。

I don't think you can do this OOTB features but you can use a Content Qwery Webpart. Check this post about Content Query Web Part Alternative for WSS 3.0 and see if it helps.

墨小沫ゞ 2024-10-22 02:52:53

为了真正的安全,问题是精明的用户总是可以手动更改 DispForm.aspx URL 的查询字符串以进入另一个列表项。因此,我可以想到几个选项:

  1. 创建一个自定义 DispForm 或放置在 DispForm 上的自定义 Web 部件,该部件调用 HandleAccessDenied 如果当前用户没有管理列表权限并且不是当前列表项的分配用户。
  2. 添加将调用 < a href="http://msdn.microsoft.com/en-us/library/ee550474.aspx" rel="nofollow">BreakRoleInheritance(false),然后向分配的用户授予 Contribute 访问权限。

For true security, the problem is that a savvy user could always manually change the querystring of the DispForm.aspx URL to get into another list item. So I can think of a couple options:

  1. Create a custom DispForm or a custom web part placed on the DispForm that calls HandleAccessDenied if the current user does not have Manage List permissions and is not the assigned user for the current List Item.
  2. Add an ItemAdded event receiver that will call BreakRoleInheritance(false) and then grant Contribute access to the assigned user.
浮萍、无处依 2024-10-22 02:52:53

安全路线上的另一个选项是使用工作流将项目的权限设置给分配给它的人员。通过这种方式,您甚至可以允许人们将问题重新分配给其他人,然后工作流可以更新权限。

在此处查看 CodePlex 上的自定义 SharePoint Designer 操作:http://spdactivities.codeplex.com/

我也有我自己为列表项安全编写了一个类似的工作流程操作,该工作流程操作比 Codeplex 的操作流程更深入一些,而且我的也适用于基于表单的身份验证 - 如果您需要这个,我可以安排将其发送给您。

希望这有帮助...

Another option on the security route would be to use workflow to set permissions on the item to the person it is assigned to. By doing it this way you can even allow people to re-assign the issue to others and then workflow can update the permissions.

Check out the custom SharePoint Designer Actions on CodePlex here: http://spdactivities.codeplex.com/

I have also written a similar workflow action myself for list item secutiry that is a little more indepth than that of the codeplex one and mine also works with Forms Based Authentication - if you need this I may be able to arrange sending it over to you.

Hope this helps...

北音执念 2024-10-22 02:52:53

我最终遵循了将主列表复制到另一个列表的解决方案,仅公开 Assigned To = [Me] 视图。

I ended up following the solution of copying a master list to another list with only the Assigned To = [Me] view exposed.

¢好甜 2024-10-22 02:52:53

列表 Web 部件中使用的视图不会添加到默认列表视图中,因此您可以使用仅具有[我]筛选的列表视图的列表 Web 部件创建 Web 部件页面或发布页面,并减少所有项目的暴露看法。

Views used in list web parts are not added to the default list views, so you could create a web part page or publishing page with a list web part that only has your [me] filtered list view, and lessen the exposure of the all items view.

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