Skip to content
dghampton edited this page Oct 16, 2016 · 2 revisions

Welcome to the sppermissionsreport wiki!

Purpose

SharePoint 2013 out of the box does not provide an easy way to view permissions for everything in a site collection. If you're doing development work (especially around the Search api's) that leverages SP permissions, then it can be a pain to keep track of your test cases. This add-in is meant to give a quick, one-stop overview of the custom permissions on a Site Collection. In the future, it might be a good tool for site collection administrators to quickly review their sites for compliance.

Technical details:

This is a SharePoint 2013 provider hosted add-in that displays permissions reports for a SharePoint 2013 site collection. It was created using Visual Studio 2015.

You will need to update the security for the app to match your environment (client id, certificate info, etc). Right now it just runs under whatever user id is running the app (your id for F5ing, the IIS app pool id if you deploy it).

Things to keep in mind

Some system things currently show up on the report even though out of the box permissions have not been modified. Most of the app logic is going off of the .HasUniqueRoleAssignments property, which is "True" by default for some types of sites (Developer site, for example).

The report to show all unique permissions for the site collection may be unreasonably slow if you have a site collection with a lot of subwebs or tons of list items.

Future plans

I'm sorry for the UI. The first draft of this was just to get the logic for the permissions report out there. In the next phase, I'll convert this to Web API and then use React for the front end.

I'll add csv export functionality soon.

For convenience, I'll also add a link back to the site collection from which the app was launched.

At some point in the future, I'll add more reports. Any suggestions on things that would useful are welcome.

Clone this wiki locally