显示特定于用户共享点的列表项
在我的项目中,我有一个资产列表,其中包含“请求下载”链接。在同一列表中,有“下载链接”列,默认为空。
现在,当任何用户单击请求下载链接时,工作流程就会激活,它将向审批者发送请求以批准或拒绝下载请求。
如果审批者接受请求,则资产列表中的“下载链接”列将通过某个 URL 进行更新,将用户重定向到下载页面。
现在发生的情况是,如果用户 A 向审批者发送下载资产的请求并且审批者批准了该请求,这将更新资产列表中的相应项目,并将下载 URL 放入“下载链接”列中,但如果用户 B 在资产中查找相同的记录列出该用户也可以看到下载链接,这是错误的。
我想仅向请求已批准的用户显示下载链接列值。
仅供参考:我正在使用 WSS 3.0
任何人都可以帮助我什么是执行此操作的最佳方法...?
提前致谢 萨钦
In my project i have a asset list which contains "request to download" link. In the same list there is "download link" column which is default empty.
Now when any user clicks on request to download link a workflow is activated and it will send request to approver to approve or reject the download request.
If approver accept the request then the "download link" column in the asset list will be updated by some URL which redirect user to download page.
Now what happen is, if user A send request to download asset to approver and approver approves it this will update respective item in asset list and put a download URL in "Download Link" column but if user B get look for the same record in asset list the download link will be visible to this user too which is wrong.
I want to display download link columns value to only those user whos request has been approve.
FYI: I am using WSS 3.0
Can anyone help me what should be the best approch to do this...?
Thanks in Advance
Sachin
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
您无法使用 SharePoint 的内置界面隐藏列表项的字段。
是否可以创建两个列表,“资产”和“下载请求”?下载请求会查找“资产”列表。事实上,这也更符合逻辑,因为审批者想要批准请求,而不是资产!
当用户请求下载资产时,您可以在“下载请求”列表中创建一个启用批准的新项目。当审批者批准请求后,您将运行生成下载链接的工作流。同时,您可以在下载请求项上
BreakRoleInheritance()
并仅向请求下载的用户分配读取权限。下载完成后,您甚至可以将“下载请求”状态更改为完成或执行任何您需要的操作。
You cannot hide a field of a list item using SharePoint's built in interface.
Is it maybe possible to create two lists, "Assets" and "Download requests"? Download requests have a lookup to "Assets" list. In fact, this would also be more logical, since the approvers want to approve the requests, not the assets!
When a user requests download of an asset, you could create a new item in "Download requests" list which has approval enabled. When approver approves the request, you run a workflow that generates the download link. In the same moment you can
BreakRoleInheritance()
on the download request item and assign read permission only to the user who requested the download.After the download is complete, you can even change the "Download request" status to complete or do whatever you need.
从您的帖子中我了解到您只能在安全性中完成工作流程和问题。
这个可以用下面的方法解决
:a.通过转到列表设置 -> 设置“只读自己的”选项高级设置->项目级权限
b.给予审批者完全控制权。
From your post I understud that you could complete the workflow and the issue only in the security.
This you can solve it with the following way
a. Set "Read only their own" option by go to the List settings-> advance settings->Item-level Permissions
b. Give the full control for approvers.