SharePoint Permission Center web part

A modern SharePoint Online web part, released as open source under the MIT License.

Documentation: https://sharepoint-permission-center.com/

The web part makes it easier for site owners and site users to answer the following questions:

  • Who has access to a site collection and with what permission level?
  • What are the members of a SharePoint group including members of nested Azure groups?
  • Why is a person member of a particular group?
  • What is the group nesting hierarchy of SharePoint and Azure groups?
  • What (hidden) groups do exist from shared documents and folders in the site?
  • What other (hidden) groups do exist without any assigned permission level?
  • How can I navigate to the classic SharePoint pages to manage groups and permissions?

SharePoint-Permission-Center-Screenshot

Building the code

Note: Ensure that Node.js V10.x is installed. Do not use newer versions! Node.js V14.x and V16.x will not work. They will install a newer gulp-cli that includes a newer gulp-sass module which will throw an error.

To build the code on Windows, run ship.bat. On other systems use

npm install gulp-cli -g
npm install
gulp clean
gulp build
gulp bundle --ship
gulp package-solution --ship

It outputs the file [PROJECT_DIR]\sharepoint\solution\permission-center-webpart.sppkg.

Testing the web part in the browser

On Windows, run run.bat. On other systems use

npm install
gulp serve