permission_diff
Compare permissions between two Salesforce profiles or permission sets to identify differences grouped by signature. Excludes permission set groups and provides an instructive error if included.
Instructions
Symmetric difference of permissions between two principals (profile or permission set). Differing fields grouped by (a_perm, b_perm) signature. The P1 workhorse.
PSGs are out of scope in P1 (they need union-minus-muting resolution — P2's
effective_permissions); passing one returns an instructive error, not a wrong answer.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| principal_a | Yes | ||
| principal_b | Yes | ||
| snapshot_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||