Preview unavailableThe idea behind the sample
Access Lens is a read-only SharePoint Framework ListView Command Set for modern SharePoint Online document libraries.
It adds an Inspect Access command to the document library command bar and opens a right-side panel with permission inheritance, effective permission source, web and library role assignments, visible SharePoint group members, risk indicators, and export options.
The sample runs entirely in the browser, uses the current SharePoint context and PnPjs, and does not require Microsoft Graph permissions, admin consent, a backend service, external storage, or telemetry.
Make it your own
Start with the author's setup instructions, explore the implementation, and adapt the pattern to your environment. Sample code stays in its original repository, together with its requirements, license and contribution history.
Read the source documentationKeep exploring
- Overview of SharePoint Framework Extensions — Use SharePoint Framework Extensions to extend the SharePoint user experience, including toolbars and list views.
- Build your first ListView Command Set extension — Learn how to create a SharePoint Framework ListView Command Set extension.
- PnPjs documentation — PnPjs provides fluent APIs for working with SharePoint and Microsoft 365.
View 1 source metadata note
- downloadUrl: No download link; derive one explicitly in the future gallery.
