I have a library containing 10000 items. It has a field called "Share" with values "Yes" and "No".
There is a user group with whom I want to share those items in this library which has "Yes" in their "Share" field. This user group has no access to any area of site not even READ access.
- Cannot create a view because you cannot assign groups to views
- Cannot assign individual item permission because those items are around 5000+ which will be cumbersome. Besides every time a new document is uploaded, I will have to manually assign permission on that item.
I am thinking of creating a web part which will fetch only those items using CAML. Add this web part in a page and give access of that page only to that user group. Is there is a better approach to do this?