Help wanted: validate a React Effective Access Audit SPFx sample
A new read-only React sample is ready for the PnP SharePoint Framework webparts repository: https://github.com/pnp/sp-dev-fx-webparts/pull/6479 The Effective Access Audit web part displays direct role assignments for the current SharePoint web and an optional list: Principal title and type Login name or email when returned Role names Web/list scope Inherited or unique permission scope Bounded…
The PnP SharePoint Framework webparts repository has introduced a new read-only React sample for validating effective access: https://github.com/pnp/sp-dev-fx-webparts/pull/6479 This Effective Access Audit web part showcases direct role assignments for the current SharePoint web and an optional list, displaying Principal title and type, Login name or email, role names, and web/list scope information.
The validation scope includes:
- Bounded results and safe site-relative path validation
- Accessible loading, empty, error, and refresh states
The sample does not alter, remove, or reset permissions, nor does it claim to expand nested groups, share links, handle item/folder permissions, or process a user's complete transitive effective access.
The validation process has been completed locally, with five Jest tests passing, TypeScript and ESLint passing, webpack builds, and the production .sppkg package validating.
The request is for a tenant validation, where a knowledgeable individual with SharePoint Online access is asked to test this sample with a representative web and list. The tester is required to report:
1. Whether direct role assignments load as documented
2. Whether inherited and unique scope labels are clear
3. Whether list-level access behaves correctly
4. How access-denied and empty states appear in a real tenant
5. A screenshot, if possible
The community is encouraged to provide positive or negative feedback regarding the sample. The Pull Request can be found at https://github.com/pnp/sp-dev-fx-webparts/pull/6479, and the sample code is located in samples/react-effective-access-audit/. For additional reference, the PnPjs security API can be found at https://pnp.github.io/pnpjs/sp/security/.
Written by urgent.news from Dev.to's reporting — not their text. Machine-written — may contain errors; check the original before relying on it.
This story
This is one outlet's version. Read the fullest account.