Set-up Sharepoint File Permission According to a File Property

%3CLINGO-SUB%20id%3D%22lingo-sub-1505720%22%20slang%3D%22en-US%22%3ESet-up%20Sharepoint%20File%20Permission%20According%20to%20a%20File%20Property%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1505720%22%20slang%3D%22en-US%22%3E%3CP%3EI%20have%20an%20issue%20similar%20to%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F474080%22%20target%3D%22_blank%22%3E%40marionkd%3C%2FA%3E's%20posts%20%3CEM%3EBest%20practice%20for%20setting%20up%20a%20library%20with%20restricted%20access%20for%20different%20user%20%3C%2FEM%3Eand%26nbsp%3B%3CEM%3EShare%20externally%20a%20Sharepoint%20View%26nbsp%3B%3C%2FEM%3Ein%20that%20I%20have%20several%20document%20libraries%20where%20it%20would%20be%20functionally%20beneficial%20for%20my%20team%20as%20well%20as%20a%20number%20of%20external%20teams%20to%20have%20access%20to%20one%20single%20library%20with%20varying%20levels%20of%20access.%20Per%20the%20responses%20provided%20on%20the%20previously%20listed%20discussion%20topics%2C%20it%20appears%20that%20access%20cannot%20be%20limited%20to%20a%20view%2C%20however%20permissions%20can%20be%20set%20on%20an%20individual%20file%20level.%20My%20initial%20intention%20was%20to%20create%20a%20series%20of%20views%20that%20would%20filter%20files%20down%20based%20on%20the%20external%20team%20name%20and%20thus%20limit%20their%20access%20to%20each%20respective%20view.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EIs%20there%20an%20alternative%20method%20to%20utilizing%20a%20file%20property%20in%20SharePoint%20to%20automatically%20set%20permissions%20(e.g.%20I%20create%20a%20column%20within%20SharePoint%20to%20select%20an%20External%20Team%20then%20that%20team%20name%20is%20married%20up%20with%20a%20permission%20group%20that%20may%20included%20a%20list%20of%20members)%3F%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EPerhaps%20a%20flow%20could%20be%20initiated%20when%20a%20file%20is%20created%20or%20properties%20are%20modified%20to%20update%20the%20permissions%20of%20that%20specific%20document%3F%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThanks%20in%20advance%20for%20any%20insight%20in%20this%20regard!%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-1505720%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EDocument%20Library%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3ESecurity%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E
Frequent Visitor

I have an issue similar to @marionkd's posts Best practice for setting up a library with restricted access for different user and Share externally a Sharepoint View in that I have several document libraries where it would be functionally beneficial for my team as well as a number of external teams to have access to one single library with varying levels of access. Per the responses provided on the previously listed discussion topics, it appears that access cannot be limited to a view, however permissions can be set on an individual file level. My initial intention was to create a series of views that would filter files down based on the external team name and thus limit their access to each respective view.

 

Is there an alternative method to utilizing a file property in SharePoint to automatically set permissions (e.g. I create a column within SharePoint to select an External Team then that team name is married up with a permission group that may included a list of members)?

 

Perhaps a flow could be initiated when a file is created or properties are modified to update the permissions of that specific document? 

 

Thanks in advance for any insight in this regard!

1 Reply
Hi, you are right, the permissions cannot be mapped to a list view or field in the list. It could only be mapped to the items or the entire list. Perhaps you could use Power Automate (MS Flow) to break the item permission and set the unique permission based on the field metadata. Using Power Automate the above-mentioned scenario is possible whenever a file is created or its properties were modified.