Click here to Skip to main content
15,944,832 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Facing Security problem in share point Treeview for login user

My Requirement:

In SharePoint HR Document library is there,inside Document library A,B,C,D,E FOLDERS are there, each folder have no.of documents inside it.

Each folder have Security group like
A folder have:AGroup
B folder have:BGroup
C folder have:CGroup
D folder have:DGroup
E folder have:Eroup

Client want to show me Library in Tree View style:i complete this task but

now client want to access these Tree View Based On login user Permission like,
AGroup :AGroup users can access all folder in the document library.
BGroup :BGroup users can access all folders except A folder.
CLogin: CGroup users can access all folders except A,B folder
DLogin :DGroup users can access only D Folders and E folders.
ELogin :EGroup users can access only E folders.

Please suggest me regarding this task,
Thanks in Advance.

1 solution

Hello ,

It is not clear why you are mentioning tree view because the views doesn't impact permissions at anyways,it is very clear that you need to work over library level permissions and folder level permissions

*AGroup :AGroup users can access all folder in the document library so
Select Library-->
library permissions
Grant Permissions
Check for Group A
Click OK (uncheck or check the send email option if needed)

For all other:
Go to Each folder -->
Manage permissions
Click Stop Inheriting Parent(this would allow the group to have only permissions to the selected folder)
Grant Permissions
Check for Group x,y,z
And vice versa do it for all the groups in the required folders.

All the best:) please write back if you need more clarity
Share this answer
Member 10397912 23-Jan-14 6:37am    
How to retrieve documents from specific folder in Document Library in Share point 2010 using C#
karthik Udhayakumar 24-Jan-14 6:37am    
Do you want to move the file from one document library to another using visual webpart?

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900