Hi,
I have a challenge to implement somehow.
Request is to create a specific folder structure and then break the permission and set on each folder unique folder permissions.
Some additional SharePoint permission groups are created as well (not point of this question right now).
Folders:
00 Definition
01 ProjMgtm
02 Products
03 Delivery
04 Support
05 Externals
I have the following permission group structure:
- "siteName" Manager (the default one)
- "siteName" Members (the default one)
- "siteName" Visitors (the default one)
-
- "siteName" Department1 Members
- "siteName" Department2 Members
- "siteName" External Members
Permission which should be set:
| Folder | Manager | Member | Dep1 | Dep2 | External | Visitor |
| 00 Definition | FullControl | Contribute | | | | read only |
| 01 ProjMgtm | FullControl | Contribute | | | | read only |
| 02 Products | FullControl | Contribute | Contribute | Contribute | | read only |
| 03 Delivery | FullControl | Contribute | | Contribute | | read only |
| 05 Externals | FullControl | Contribute | | | Contribute | read only |
I thought about defining a JSON structure to define on which folder which permission group should be set.
How would you structure the JSON or how would you implement that with Flow? It should (needs) to be Flow or LogicApps.
so my idea would be to loop over the JSON structure, break permission and set the defined groups.
This is not a one time action, the structure will be created on multiple sites (even with site provisioning).
Not sure how I should start, at the moment...
Appreciate inputs.
Thanks,
Stefan