@martintoelk/bu-security-role-assigner
v1.0.2
Published
Safely preview and assign Dataverse security roles by business unit.
Readme
BU Security Role Assigner
A Power Platform ToolBox (PPTB) tool for safely previewing and assigning Dataverse security roles by business unit. It loads teams, users, roles, business units, and assignments from the active connection; bulk role changes are available for teams.
Local development
Prerequisites: Node.js 20 or later, npm, and Power Platform ToolBox.
npm install
npm run build
npm run dev-watchIn PPTB, enable Show Debug Menu in Settings. In Debug, choose Load Local Tool, select this repository root (the folder containing package.json), and reload the tool after each rebuild. Use only a sandbox Dataverse environment while developing and testing later role-management features.
Verification
npm run typecheck
npm test
npm run build
npm run validate -- --skip-url-checksThe GitHub Actions workflow runs the same checks on pushes and pull requests.
Account and release gates
Before the first public release, a maintainer must complete these human-owned steps:
- Create and verify the npm account for the
@martintoelkscope, including email verification and two-factor authentication. - Sign in to the PPTB registry/submission service with the publishing account.
- Make the one-time initial public release manually with
npm publish --access publicafter sandbox validation in PPTB. - Configure GitHub OIDC trusted publishing for subsequent releases; do not add a long-lived npm publishing token to this repository.
No credentials, tokens, or external Content Security Policy exceptions belong in this repository.
