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.
Parameters
Section titled “Parameters”onPermissionSet?
Section titled “onPermissionSet?”(name) => void
Called with each permission set’s name just before it’s checked (for progress output).
Returns
Section titled “Returns”Promise<PermissionSetCheckResult[]>
Throws
Section titled “Throws”scan-failed — see scanPermissionSetSource.