Forum Discussion
Eric Adler
Jul 08, 2018Steel Contributor
Setting up 300 folders with unique permissions - Best Approach?
What would be the best approach to setting up 300 folders with different names and each folder has unique permissions?
- 300 folders with unique names
- permissions inheritance needs to be broken.
- 2 of the 3 groups that came with the original permissions need to be removed
- two accounts need to be added with edit rights (accounts and folder name share a naming convention)
- two other groups need to be added with edit permissions
PowerShell is going to be the best most reliable route. I'm assuming you're creating the folders to secure information and then using Metadata in the views/search?
5 Replies
Sort By
- spucelik
Microsoft
PowerShell is going to be the best most reliable route. I'm assuming you're creating the folders to secure information and then using Metadata in the views/search?
- Eric AdlerSteel ContributorTo secure...but really to make the UI easier for the end users. So they only see their folder. Not setting any metadata...would like to though. currently, the library is set up with a one metadata field. it is using a look column. is that accessible to configure in PowerShell?
- spucelik
Microsoft
Yes you can use PowerShell to do any list/library manipulation. Here is a good resource.
An approach I have used is to configured permissions using SharePoint Designer Workflow. Using a metadata column to determine the set of groups assigned permission to the folders. This needs to be done with a SP2010 workflow (not SP2013) using an impersonation step and the 'replace item permission' or 'change item permission' workflow step.
In another job I had a CSV file with the folder names and groups defined on each line. I used PowerShell to great the folders and then set the permission.
- PowerShell / .NET Programme approach is the best one you can follow here....take also a look at the possibilities PnP stuff can bring you to simplify all