Document library visualization permissions in page

%3CLINGO-SUB%20id%3D%22lingo-sub-1526360%22%20slang%3D%22en-US%22%3EDocument%20library%20visualization%20permissions%20in%20page%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1526360%22%20slang%3D%22en-US%22%3E%3CP%3EHello%2C%3C%2FP%3E%3CP%3E%3CBR%20%2F%3EI%20am%20building%20an%20intranet%20site%20with%20Sharepoint%20Online%2C%20with%20different%20permissions%20for%20employees%20and%20consultants.%3C%2FP%3E%3CP%3EI%20have%20added%20a%20%22document%20library%22%20web%20part%20to%20a%20site%20page%2C%20and%20set%20it%20to%20point%20to%20an%20%22Employee%22%20folder.%20The%20folder%20access%20is%20reserved%20to%20employees%20only.%20When%20I%20log%20into%20the%20page%20with%20a%20consultant's%20account%2C%20what%20I%20see%20is%20(correctly)%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22prep65_0-1594904170738.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Fgxcuf89792.i.lithium.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F205788i445B71A3656C335D%2Fimage-size%2Fmedium%3Fv%3D1.0%26amp%3Bpx%3D400%22%20title%3D%22prep65_0-1594904170738.png%22%20alt%3D%22prep65_0-1594904170738.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EUnfortunately%2C%20this%20is%20not%20very%20nice%20to%20see.%3C%2FP%3E%3CP%3EIs%20there%20a%20way%20to%20display%20this%20web%20part%20if%20and%20only%20if%20the%20logged%20account%20has%20view%20permissions%20on%20the%20underlying%20folder%20%3F%3C%2FP%3E%3CP%3E%3CBR%20%2F%3EThanks%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-1526360%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-1526538%22%20slang%3D%22en-US%22%3ERe%3A%20Document%20library%20visualization%20permissions%20in%20page%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1526538%22%20slang%3D%22en-US%22%3EThe%20only%20option%20I%20can%20see%20to%20do%20what%20you%20are%20asking%20is%20by%20means%20of%20audiences%2C%20but%20I%20think%20the%20document%20library%20webpart%20does%20not%20support%20audiences%3C%2FLINGO-BODY%3E
Highlighted
Occasional Visitor

Hello,


I am building an intranet site with Sharepoint Online, with different permissions for employees and consultants.

I have added a "document library" web part to a site page, and set it to point to an "Employee" folder. The folder access is reserved to employees only. When I log into the page with a consultant's account, what I see is (correctly)

 

prep65_0-1594904170738.png

 

 

Unfortunately, this is not very nice to see.

Is there a way to display this web part if and only if the logged account has view permissions on the underlying folder ?


Thanks

1 Reply
Highlighted
The only option I can see to do what you are asking is by means of audiences, but I think the document library webpart does not support audiences