How to set View level permission for a List/Library in SharePoint online?

Copper Contributor

I want to set permission for some of my list views so that a specific person can visit them and nobody else have access to them.

17 Replies
Unfortunately lists/document libraries views does not provide the ability to set specific permissions...views have never been a securable object in SharePoint

@Soheilsd 

Unfortunately, there is no way to assign permission to the SharePoint list view, but you can set the permission at Library level.

 

Settings > List settings > Permissions for this list

HI @Soheilsd,

you can try to use conditional formating

Use column formatting to customize SharePoint | Microsoft Docs

also, see this video

Hope it's not too late :)

 

Julia

Another trick is to move the view page to a doc library, set permissions and then move it back to its original location.

Hi would you mind explaining what you mean by "move the view page to a doc library". I have a list the default view only exposes columns I don't mind the submitters to the list seeing. But certain columns on the list are only for the eyes of an internal dept. I have created a view for that dept but the general user will be able to see there is another view to the list and can click on it since there is no permission that can be applied to a view. Thanks for your help!

 

Open the site in SP Designer. All files > lists > open the list. Right click > copy the desired view. Open any doc library from All files > library and paste in the view page. You can then open the library in the browser and adjust permissions as you would for any document. Most likely you'll stop inheriting and apply unique permissions. Once done reverse the process and copy the view page back to the list.
You could also adjust the permissions in SP Designer if it's easier.
Thank you for your prompt response!
Does this really work with SharePoint Online?

Yes, I've used it in SP Online. @ikoalosaurus

If you are using Classic UI then you can use Audience Targeting in Listview webpart, just edit the view page from Setting > Edit Page and in the edit webpart properties pane in Advance tab, select the group in Audience targetting.
Yes, but:
(1) I would avoid to use the Classic UI
(2) Audience Targeting is to control what users can see depending on the group they belong to...and again, here you will be relying on classic audiences something I don't recommend

@matt howell How do I move the list view to another location? I can't navigate to it's location.

How do you move the view page to a doc library? I'm unable to navigate to wherever the view page is stored in the group.

@MikeAlexander617 You have to do it SP Designer as mentioned above: "Open the site in SP Designer. All files > lists > open the list. Right click > copy the desired view. "

untitled.png

@matt howell 

 

Thanks,

I think I need to first enable the custom HTML and add the designer, before I'm able to access it.

Thank you, worked like a charm!
Create a Wiki page
Page Settings
Advanced Settings
At the bottom select Classic
Edit your page and add the list webpart
Edit the webpart and remove the title link
Edit the page and add the title above your list webpart