Testing Permission Set Deployment Changes
The Summer17 release made a rather significant change to permission set deployment.
https://releasenotes.docs.salesforce.com/en-us/summer17/release-notes/rn_forcecom_permission_metadata_behavior.htm
In API 40.0 and later, when you deploy the output of a retrieval to another org, the target org metadata is now replaced by the metadata in the deployment. In API 39.0 and earlier, when you deploy your retrieved permission set output to another org, the deployment contents are merged with your current org data.
So the new permission set blows away the old one. This left me w/ some weedy questions I wanted to test, and this is what I found:
- Does deploying permission set really overwrite ALL permission in target org (CRED, Tab, Record Type, FLS, System Perms, VF, Apex, etc)
answer : yes for CRED, Record Type, VF, Apex, FLS. I still need to test system perms but there is no trace left of...


