Set View Level permissions for a Document Library for different user groups

%3CLINGO-SUB%20id%3D%22lingo-sub-1097016%22%20slang%3D%22en-US%22%3ESet%20View%20Level%20permissions%20for%20a%20Document%20Library%20for%20different%20user%20groups%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1097016%22%20slang%3D%22en-US%22%3E%3CP%3EHi%2C%20I%20have%20a%20requirement%20to%20display%20different%20views%20of%20same%20Document%20Library%20'Orders'%20to%20the%20logged%20in%20user%20based%20on%20the%20User%20group%20that%20the%20user%20belongs%20to.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3ESuppose%20I%20have%20a%20user%20'abc'%20belonging%20to%20Group%20A%2C%20is%20suppose%20to%20view%20only%20the%20documents%20in%20the%20Document%20Library%20'Orders'%20that%20are%20assigned%20to%20him%20(user%20'abc').%20Whereas%20another%20user%20'xyz'%20belonging%20to%20Group%20B%2C%20is%20able%20to%20view%20all%20the%20Documents%20within%20the%20Document%20Library%20'Orders'%2C%20irrespective%20of%20documents%20assigned%20to%20any%20user%20of%20Group%20A.%20How%20do%20I%20accomplish%20this%20using%20SharePoint%20Online%3F%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%20class%3D%22%22%3EYour%20help%20is%20deeply%20appreciated.%20Thank%20you.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-1097016%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3ESharePoint%20Online%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1098341%22%20slang%3D%22en-US%22%3ERe%3A%20Set%20View%20Level%20permissions%20for%20a%20Document%20Library%20for%20different%20user%20groups%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1098341%22%20slang%3D%22en-US%22%3E%3CP%3EHi%20%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F510714%22%20target%3D%22_blank%22%3E%40Shruti_Naik%3C%2FA%3E%20%2C%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EA%20view%20can%20be%20filtered%20by%20the%20current%20user%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Fwww.sharepointsapiens.com%2Flist-filter-web-part%2Fdocumentation%2Finitially-filter-sharepoint-view-current-user%2F%22%20target%3D%22_self%22%20rel%3D%22nofollow%20noopener%20noreferrer%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Fwww.sharepointsapiens.com%2Flist-filter-web-part%2Fdocumentation%2Finitially-filter-sharepoint-view-current-user%2F%3C%2FA%3E%20.%20The%20question%20here%20is%20can%20the%20user%20see%20the%20other%20documents%20that%20aren't%20assigned%20to%20them%20if%20they%20search%20or%20look%20at%20another%20view%20in%20the%20document%20library.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EIf%20we%20talk%20more%20about%20what%20the%20users%20have%20permissions%20to%20then%201%20view%20could%20be%20used%20to%20show%20the%20users%20what%20orders%20they%20have%20permissions%20to%20see.%26nbsp%3B%20On%20item%20creation%20kick%20off%20a%20workflow%20in%20Power%20Automate%20and%20permission%20the%20documents%20accordingly.%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EAndy%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E
Highlighted
Occasional Visitor

Hi, I have a requirement to display different views of same Document Library 'Orders' to the logged in user based on the User group that the user belongs to.

 

Suppose I have a user 'abc' belonging to Group A, is suppose to view only the documents in the Document Library 'Orders' that are assigned to him (user 'abc'). Whereas another user 'xyz' belonging to Group B, is able to view all the Documents within the Document Library 'Orders', irrespective of documents assigned to any user of Group A. How do I accomplish this using SharePoint Online? 

 

Your help is deeply appreciated. Thank you.

1 Reply
Highlighted

Hi @Shruti_Naik ,

 

A view can be filtered by the current user https://www.sharepointsapiens.com/list-filter-web-part/documentation/initially-filter-sharepoint-vie... . The question here is can the user see the other documents that aren't assigned to them if they search or look at another view in the document library.

 

If we talk more about what the users have permissions to then 1 view could be used to show the users what orders they have permissions to see.  On item creation kick off a workflow in Power Automate and permission the documents accordingly. 

 

Andy