Wednesday, February 1, 2012

Security Trimming List Views

Business Problem:
SharePoint list, need to allow users to see a set of items, and have no access to all other items on the list.

SharePoint Solution: 
1. Create all the views needed in the list. (filtered and named according to desired audience)
2. Create a new document library
3. Open the site in SharePoint Designer
4. Expand lists, navigate to the list

Each created view is an .aspx page stored with the list. To apply permissions to each view, the view page must be moved to the document library, where permissions can be set at the page level.


5. Select each view, including allitems.aspx
6. Cut, then paste in the library
7. Open the library in the browser, then break the permissions inheritance at the page level.

Remember: Any new views created will display for all users. Every view must be moved to the library and permissions set at the page level to completely restrict access.