本文介绍了如何在仅访问子文件夹时查看父文件夹的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我分别有两个名为A和B的文件夹。文件夹A中有3个子文件夹,分别命名为P,Q,R.Folder B分别有3个SubFolder,分别命名为X,Y,Z.现在,约翰有人访问文件夹A.因此他可以看到里面的所有文件。 John只访问文件夹B中的Y Sub文件夹
。因此,如果我们以webpart的形式放置此文档库,那么只有文件夹A可见而不是B。 


我可以通过停止继承,删除权限等来实现这一点 但对1000个用户做同样的事情可能是一个单调的工作。我想我们可以通过JavaScript实现这一点。所以任何人都可以帮助我使用JS逻辑。 

解决方案

I have 2 folders named A and B Respectively . Folder A has 3 sub folders named as P , Q , R in it .Folder B has 3 SubFolder named X , Y , Z Respectively . Now person John has Access to Folder A . Thus he can see all documents inside of it. John has access to only Y Sub Folder inside of Folder B . Thus if we place this document library in a form of webpart then only Folder A is visible and not B . 

I can acheive this by stop inheritance , removing permissions etc  but doing the same for 1000 of users might be a tedius job . I guess we can do this via JavaScript . So can anyone help me with JS logic . 

解决方案


这篇关于如何在仅访问子文件夹时查看父文件夹的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

07-30 01:20
查看更多