Skip to content

checkPermissionSets

checkPermissionSets(specs, onPermissionSet?): Promise<PermissionSetCheckResult[]>

Defined in: packages/simply-permissions-core/src/permissionSetBuild.ts:629

Scans and compiles each permission set exactly as generatePermissionSets does, but compares the result with the file already at its output path instead of writing it — so CI can check that generated permission sets haven’t drifted from their source metadata. Writes nothing.

PermissionSetSpec[]

(name) => void

Called with each permission set’s name just before it’s checked (for progress output).

Promise<PermissionSetCheckResult[]>

scan-failed — see scanPermissionSetSource.